📚 Update PwBaseWorkChain
example
#48
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: Continuous integration | |
on: [push, pull_request] | |
jobs: | |
precommit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache Python dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: pip-pre-commit-${{ hashFiles('**/setup.json') }} | |
restore-keys: | |
pip-pre-commit- | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install python dependencies | |
run: | | |
pip install -e.[dev] | |
- name: Run pre-commit | |
run: | |
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 ) |