diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca13f94..0439474 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 @@ -110,7 +110,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/ @@ -138,8 +138,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 @@ -164,8 +164,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 @@ -207,7 +207,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. @@ -217,7 +217,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. @@ -231,8 +231,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 @@ -246,10 +246,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/docs.yml b/.github/workflows/docs.yml index 595babf..7f6cbd1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -47,8 +47,8 @@ jobs: name: mkdocs build --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: "3.12" cache: pip @@ -60,7 +60,7 @@ jobs: - run: mkdocs build --strict - name: Package the site for Pages if: github.event_name != 'pull_request' - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: site @@ -77,4 +77,4 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 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 diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index 5fa6d16..cc40ff9 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -47,12 +47,12 @@ jobs: name: the generated cores must match the spec 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 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: ${{ env.NODE_VERSION }} cache: npm @@ -108,8 +108,8 @@ jobs: name: the server must agree with the vectors 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 @@ -125,8 +125,8 @@ jobs: run: working-directory: sdks/python 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 @@ -146,7 +146,7 @@ jobs: run: | python -m pip install --quiet build python -m build --wheel --outdir ../../dist-python - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: python-wheel path: dist-python/*.whl @@ -159,8 +159,8 @@ jobs: run: working-directory: sdks/typescript steps: - - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: ${{ env.NODE_VERSION }} cache: npm @@ -174,7 +174,7 @@ jobs: run: | mkdir -p ../../dist-npm npm pack --pack-destination ../../dist-npm - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: npm-tarball path: dist-npm/*.tgz @@ -185,7 +185,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 # One version number covers the image, the API and both SDKs # (docs/reference/versioning.md). Publishing 0.2.0.dev0 under a v0.2.0 # tag would break that quietly and permanently — a version on PyPI cannot @@ -230,9 +230,9 @@ jobs: echo "::notice::registered. See sdks/README.md, 'Turning publishing on'." fi - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 if: steps.gate.outputs.ready == 'true' - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 if: steps.gate.outputs.ready == 'true' with: python-version: ${{ env.PYTHON_VERSION }} @@ -294,9 +294,9 @@ jobs: echo "::notice::See sdks/README.md, 'Turning publishing on'." fi - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 if: steps.gate.outputs.ready == 'true' - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 if: steps.gate.outputs.ready == 'true' with: node-version: ${{ env.NODE_VERSION }}