chore(deps): update actions/cache action to v4 #193
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: Code Review | |
on: pull_request | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: "Install python requirements" | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements-dev.txt | |
- name: "Check style" | |
run: | | |
black --check --verbose . | |
- name: "Test code" | |
run: | | |
python -m unittest discover -s tests/unit |