Bump python from 3.9.6-slim to 3.13.0-slim in /docker #231
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: mypy | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install mypy | |
run: pip install mypy | |
- name: Install requirements | |
run: pip install -r requirements.txt -r tests/requirements.txt | |
- name: Run mypy | |
uses: sasanquaneuf/mypy-github-action@releases/v1 | |
with: | |
checkName: 'mypy' # NOTE: this needs to be the same as the job name | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |