diff --git a/.github/workflows/_check.yml b/.github/workflows/_check.yml index a6139c19..98897ffc 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@v8 id: script if: github.event_name == 'push' with: diff --git a/.github/workflows/_dist.yml b/.github/workflows/_dist.yml index b1c4c93c..9f6970f5 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@v5 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@v5 with: name: dist path: dist diff --git a/.github/workflows/_docs.yml b/.github/workflows/_docs.yml index ce33811f..d94bf833 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@v5 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@v5 with: name: docs path: build diff --git a/.github/workflows/_pypi.yml b/.github/workflows/_pypi.yml index f2ead1bc..9bac25a6 100644 --- a/.github/workflows/_pypi.yml +++ b/.github/workflows/_pypi.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Download dist artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: dist path: dist diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 395cdd3f..35ad37a6 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@v6 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@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v0.1.15 + uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v0.1.15 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 f652d414..e9703f7d 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@v5 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@v5 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@v4 + uses: codecov/codecov-action@v5 with: name: ${{ inputs.python-version }}/${{ inputs.runs-on }} files: cov.xml diff --git a/.github/workflows/_tox.yml b/.github/workflows/_tox.yml index a13536d3..ff764391 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@v5 - name: Install python packages uses: ./.github/actions/install_requirements