diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65dd7cf..cc77c38 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: test: if: github.event_name != 'pull_request' || !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association) name: Test py${{ matrix.python }} - runs-on: ubuntu-latest + runs-on: ubuntu-${{ matrix.python == 3.7 && '22.04' || 'latest' }} strategy: matrix: python: [3.7, 3.12] @@ -21,7 +21,7 @@ jobs: - name: Install run: pip install -U -e .[dev] - run: pytest - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} deploy: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b3134c..df90788 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: - flake8-pyproject - flake8-string-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.15.0 hooks: - id: mypy additional_dependencies: [types-setuptools] @@ -51,7 +51,7 @@ repos: args: [-i] additional_dependencies: [toml] - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 6.0.0 hooks: - id: isort ci: