diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fed10c3..2c6d15b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,8 @@ jobs: name: ruff runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip @@ -31,8 +31,8 @@ jobs: name: mypy --strict runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip @@ -43,8 +43,8 @@ jobs: name: unit tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip @@ -76,8 +76,8 @@ jobs: # else's luck; the wide random search is the nightly job's problem. HYPOTHESIS_PROFILE: ci steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip @@ -94,7 +94,7 @@ jobs: # gives you no way to run it again. - name: Keep the failing counterexample if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: hypothesis-examples path: .hypothesis/ @@ -122,8 +122,8 @@ jobs: ENVIRONMENT: test BITCOIN_NETWORK: regtest steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip @@ -148,8 +148,8 @@ jobs: name: published contracts runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip @@ -178,7 +178,7 @@ jobs: # turns a green build into an unfalsifiable claim. image: semgrep/semgrep:1.172.0 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 # `p/python` is the registry's general Python suite; `.semgrep/` holds the # architecture rules specific to this codebase. `--error` is what makes a # finding fail the build rather than decorate a log nobody opens. @@ -188,7 +188,7 @@ jobs: name: gitleaks runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: # Scan the history, not just the tip: a key removed in a later commit # is still a leaked key. @@ -202,8 +202,8 @@ jobs: name: BTCPay compatibility runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSION }} cache: pip @@ -217,10 +217,10 @@ jobs: name: docker build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: docker/setup-buildx-action@v3 + - uses: actions/checkout@v7 + - uses: docker/setup-buildx-action@v4 - name: Build the API image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . push: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c1964c..e004d56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,21 +26,21 @@ jobs: outputs: digest: ${{ steps.build.outputs.digest }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: ref: ${{ inputs.tag || github.ref }} - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 + - uses: docker/setup-qemu-action@v4 + - uses: docker/setup-buildx-action@v4 - - uses: docker/login-action@v3 + - uses: docker/login-action@v4 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE }} tags: | @@ -51,7 +51,7 @@ jobs: # arm64 matters: the target deployment is a Hetzner CAX11, which is ARM. # An amd64-only image would fail on the box it was designed for. - id: build - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . platforms: linux/amd64,linux/arm64 @@ -64,7 +64,7 @@ jobs: cache-to: type=gha,mode=max - name: Attest provenance - uses: actions/attest-build-provenance@v2 + uses: actions/attest-build-provenance@v4 with: subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE }} subject-digest: ${{ steps.build.outputs.digest }} @@ -75,7 +75,7 @@ jobs: needs: image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: fetch-depth: 0 @@ -97,7 +97,7 @@ jobs: fi cat release-notes.md - - uses: softprops/action-gh-release@v2 + - uses: softprops/action-gh-release@v3 with: body_path: release-notes.md draft: false