Re-run newly pinned black version #4840
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: Check | |
on: push | |
jobs: | |
black: | |
name: Black | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-cached-python | |
with: | |
version: "3.10" | |
- name: Check files using the black formatter | |
run: black --check . | |
link: | |
name: Ruff linting | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-cached-python | |
with: | |
version: "3.10" | |
- run: inv lint | |
mypy: | |
name: Mypy | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-cached-python | |
with: | |
version: "3.10" | |
- run: inv protoc | |
- run: pip install -e . # gets all dependencies and the package itself into python env | |
- name: Build type stubs | |
run: inv type-stubs | |
- run: inv mypy | |
check-copyright: | |
name: Check copyright | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-cached-python | |
with: | |
version: "3.10" | |
- run: inv check-copyright |