Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -77,4 +77,4 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -75,7 +75,7 @@ jobs:
needs: image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -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
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down