What changed, and why it matters
This commit updates the versions of several GitHub Actions used in the project's automated build and release workflows. It moves actions/checkout and actions/setup-go to v7, and updates Docker-related actions to newer pinned releases. The stated reason is to avoid relying on older GitHub Actions runtimes that run on Node 20, which is approaching end-of-life. There is no direct code change to the btcd software itself, and no specific security vulnerability is described or fixed.
Treat as routine CI maintenance. Review the updated action versions and pinned commit SHAs for expected behavior, run the workflows on a test branch if possible, and monitor for any deprecation warnings. No urgent security response is indicated by the commit content.
Security signals we found
Dependency/version bump of CI/CD actions
Move from Node 20 runtime to Node 24 runtime for GitHub Actions
Docker action pins updated from 2021-22 releases to 2024-25 releases
No explicit CVE, vulnerability, or exploit described in commit
Evidence from the diff
The diff modifies three workflow files under .github/workflows. It bumps actions/checkout from v4 to v7 and actions/setup-go from v5 to v7 across go-versions.yml and main.yml. In dimagespub.yml, it additionally pins docker/setup-buildx-action, docker/login-action, docker/metadata-action, and docker/build-push-action to newer commit SHAs with version comments. The commit message frames this as a maintenance change to stay on supported Node.js runtimes (Node 24) and to keep Docker actions current. No changes to application code, dependencies, or build logic are present.
Changed components
.github/workflows/dimagespub.yml.github/workflows/go-versions.yml.github/workflows/main.ymlInspect captured patch +16 / −16
### .github/workflows/dimagespub.yml
@@ -23,27 +23,27 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
- name: Docker Setup Buildx
id: buildx
- uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25
+ uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Log in to the Container registry
- uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
+ uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
- uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
+ uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker images
- uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
+ uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
file: .github/workflows/Dockerfile
labels: ${{ steps.meta.outputs.labels }}
### .github/workflows/go-versions.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out source
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
- name: Check Go versions
run: ./scripts/check_go_versions.sh
### .github/workflows/main.yml
@@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v7
with:
go-version: ${{ env.GO_VERSION }}
- name: Check out source
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
- name: Build
run: make build
@@ -37,12 +37,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v7
with:
go-version: ${{ env.GO_VERSION }}
- name: Check out source
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
- name: Test
run: make unit-cover
@@ -136,12 +136,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v7
with:
go-version: ${{ env.GO_VERSION }}
- name: Check out source
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
- name: Test
run: make unit-race
@@ -151,12 +151,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v7
with:
go-version: ${{ env.GO_VERSION }}
- name: Check out source
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
- name: Test
run: make unit
@@ -172,10 +172,10 @@ jobs:
GOTOOLCHAIN: local
steps:
- name: Check out source
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v7
with:
go-version-file: go.mod
Why this scored 18/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.