ALEPH-7 project modernization: migrate project to python 3.12, hatch, pyproject.toml, upgrade dependencies, migrate to latest pytezos and add a bunch of other improvements and some documentation improvement. #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test code quality | |
on: | |
push: | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
code-quality: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pip and hatch | |
run: | | |
sudo apt-get install -y python3-pip | |
pip3 install hatch hatch-vcs | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-code-quality-${{ hashFiles('pyproject.toml') }} | |
restore-keys: | | |
${{ runner.os }}-code-quality-${{ hashFiles('pyproject.toml') }} | |
- name: Run Hatch lint | |
run: hatch run linting:all |