diff --git a/.github/workflows/_check.yml b/.github/workflows/_check.yml index a6139c1..324a822 100644 --- a/.github/workflows/_check.yml +++ b/.github/workflows/_check.yml @@ -11,7 +11,7 @@ jobs: outputs: branch-pr: ${{ steps.script.outputs.result }} steps: - - uses: actions/github-script@v7 + - uses: actions/github-script@v9 id: script if: github.event_name == 'push' with: diff --git a/.github/workflows/_dist.yml b/.github/workflows/_dist.yml index b1c4c93..bb46674 100644 --- a/.github/workflows/_dist.yml +++ b/.github/workflows/_dist.yml @@ -7,7 +7,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # Need this to get version number from last tag fetch-depth: 0 @@ -18,7 +18,7 @@ jobs: pipx run build - name: Upload sdist and wheel as artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: dist path: dist diff --git a/.github/workflows/_docs.yml b/.github/workflows/_docs.yml index a1cafca..953a3d9 100644 --- a/.github/workflows/_docs.yml +++ b/.github/workflows/_docs.yml @@ -11,7 +11,7 @@ jobs: run: sleep 60 - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # Need this to get version number from last tag fetch-depth: 0 @@ -29,7 +29,7 @@ jobs: run: rm build/html/.doctrees/environment.pickle - name: Upload built docs artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: docs path: build @@ -47,7 +47,7 @@ jobs: if: github.ref_type == 'tag' || github.ref_name == 'main' # We pin to the SHA, not the tag, for security reasons. # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions - uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 + uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: .github/pages diff --git a/.github/workflows/_pypi.yml b/.github/workflows/_pypi.yml index 8032bba..22b772b 100644 --- a/.github/workflows/_pypi.yml +++ b/.github/workflows/_pypi.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Download dist artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: dist path: dist diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 3f949fc..ae5a6de 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -7,7 +7,7 @@ jobs: steps: - name: Download artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: merge-multiple: true @@ -23,7 +23,7 @@ jobs: - name: Create GitHub Release # We pin to the SHA, not the tag, for security reasons. # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions - uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2 + uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0 with: prerelease: ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b') || contains(github.ref_name, 'rc') }} files: "*" diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 552b29d..812c0df 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # Need this to get version number from last tag fetch-depth: 0 @@ -38,7 +38,7 @@ jobs: - if: inputs.python-version == 'dev' name: Upload dev-requirements.txt - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: dev-requirements path: /tmp/dev-requirements.txt @@ -54,7 +54,7 @@ jobs: run: tox -e tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: name: ${{ inputs.python-version }}/${{ inputs.runs-on }} files: cov.xml diff --git a/.github/workflows/_tox.yml b/.github/workflows/_tox.yml index a13536d..f7bd4d1 100644 --- a/.github/workflows/_tox.yml +++ b/.github/workflows/_tox.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install python packages uses: ./.github/actions/install_requirements