Skip to content

Commit

Permalink
Change mypy/etc version for github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgevans committed Nov 1, 2022
1 parent 9c34b28 commit 07f28ed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --verbose --diff"
Expand All @@ -36,15 +36,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools_scm[toml] wheel setuptools
python -m pip install --upgrade attrs types-attrs types-tabulate types-PyYAML types-toml
python -m pip install --upgrade "git+https://github.com/python/mypy.git"
python -m pip install --upgrade mypy
python -m pip install --upgrade .
mkdir -p .mypy_cache
- name: Mypy
Expand All @@ -60,9 +60,9 @@ jobs:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down

0 comments on commit 07f28ed

Please sign in to comment.