Refactor core #309
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: pull_request | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
validate: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8.18" | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Requirements | |
run: make requirements | |
- name: Build | |
run: make build | |
- name: Formatting check (black) | |
run: make check-fmt | |
- name: Imports ordering check (isort) | |
run: make check-imports | |
- name: Lint Python check (pylint) | |
run: make check-lint-python | |
- name: Type check (mypy) | |
run: make check-type | |
- name: Test | |
run: make test |