diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4d09051..5418bcd 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,15 +13,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['pypy-3.9', '3.9', '3.10', '3.11', '3.12', '3.13-dev'] + python-version: ['pypy-3.9', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14-dev'] os: [ubuntu-latest, macos-latest, windows-latest] - continue-on-error: ${{ matrix.python-version == '3.13-dev' }} + continue-on-error: ${{ matrix.python-version == '3.14-dev' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -38,7 +38,9 @@ jobs: - name: Report coverage if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} pypi-publish: # Only publish if all other jobs succeed @@ -46,10 +48,10 @@ jobs: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.x' - name: Install build and publish tools run: | pip install build twine diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c8b757..54c197a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0 + rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0 hooks: - id: check-yaml - id: check-toml @@ -14,7 +14,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: b965c2a5026f8ba399283ba3e01898b012853c79 # frozen: 24.8.0 + rev: 1b2427a2b785cc4aac97c19bb4b9a0de063f9547 # frozen: 24.10.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8