Feature/add cache to GitHub actions #1398
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: codestyle | |
on: | |
pull_request: | |
branches: | |
- develop | |
- master | |
- experimental | |
jobs: | |
codestyle: | |
name: Check codestyle | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Build image | |
uses: ./.github/actions/build | |
- name: Lint with flake8 | |
run: poetry run flake8 --config setup.cfg | |
- name: Codestyle by black | |
run: poetry run black --check --config=pyproject.toml . |