diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 477c8dc..d3564b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 2 - name: Set up Python - uses: actions/setup-python@v4.7.0 + uses: actions/setup-python@v5.1.0 with: python-version: "3.10" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 25ca358..63201ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v4.7.0 + uses: actions/setup-python@v5.1.0 with: python-version: ${{ matrix.python }} @@ -97,17 +97,19 @@ jobs: - name: Upload coverage data if: always() && matrix.session == 'tests' - uses: "actions/upload-artifact@v3" + uses: actions/upload-artifact@v4 with: name: coverage-data path: ".coverage.*" + overwrite: True - name: Upload documentation if: matrix.session == 'docs-build' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: docs path: docs/_build + overwrite: True coverage: runs-on: ubuntu-latest @@ -117,7 +119,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4.7.0 + uses: actions/setup-python@v5.1.0 with: python-version: "3.10" @@ -138,7 +140,7 @@ jobs: nox --version - name: Download coverage data - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: coverage-data @@ -152,3 +154,5 @@ jobs: - name: Upload coverage report uses: codecov/codecov-action@v4.4.1 + with: + token: ${{ secrets.CODECOV_TOKEN }}