Skip to content

Commit 2eee6d1

Browse files
authored
Update GitHub Actions to use Node 24 (#159)
Replace deprecated Node 16/20 action versions with Node 24 equivalents aws-actions/configure-aws-credentials: v1*/v3/v4 → v6 (node24) aws-actions/amazon-ecr-login: v1 → v2 (node24) actions/checkout: v3/v4 → v6 (node24)
1 parent d0ad181 commit 2eee6d1

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,26 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2020
with:
2121
fetch-depth: 0
2222

2323
- name: Set up Go
24-
uses: actions/setup-go@v6
24+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2525
with:
2626
go-version-file: 'go.mod'
2727

2828
- name: Install package_cloud gem
2929
run: sudo gem install package_cloud --no-doc
3030

3131
- name: Set Up QEMU
32-
uses: docker/setup-qemu-action@v3
32+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
3333

3434
- name: Set Up Docker Buildx
35-
uses: docker/setup-buildx-action@v3
35+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3636

3737
- name: Log In to GitHub Container Registry
38-
uses: docker/login-action@v3
38+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
3939
with:
4040
registry: ghcr.io
4141
username: ${{ github.repository_owner }}
@@ -48,7 +48,7 @@ jobs:
4848
run: ./mcp-publisher login github-oidc
4949

5050
- name: Run GoReleaser
51-
uses: goreleaser/goreleaser-action@v6
51+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
5252
with:
5353
distribution: goreleaser
5454
version: "~> v2"

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919

2020
- name: Install Go
21-
uses: actions/setup-go@v6
21+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2222
with:
2323
go-version-file: ./go.mod
2424
check-latest: true
@@ -62,7 +62,7 @@ jobs:
6262
run: go tool cover -html=coverage.out -o=coverage.html
6363

6464
- name: Upload coverage report
65-
uses: actions/upload-artifact@v4
65+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6666
with:
6767
name: coverage.html
6868
path: coverage.html

0 commit comments

Comments
 (0)