Skip to content

Commit 74ce395

Browse files
committed
chore: update action versions in workflows for consistency and stability
1 parent 21d1543 commit 74ce395

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/go-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
go-version: stable
2828

2929
- name: golangci-lint
30-
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # golangci/golangci-lint-action@v6
30+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # golangci/golangci-lint-action@v9.2.0
3131
with:
3232
args: --timeout=30m
3333

@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838

3939
- name: Check out code into the Go module directory
40-
uses: actions/checkout@v6 # actions/checkout@v6
40+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # actions/checkout@v6
4141

4242
- name: Set up Go 1.x
4343
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # actions/setup-go@v5
@@ -61,7 +61,7 @@ jobs:
6161
steps:
6262

6363
- name: Check out code into the Go module directory
64-
uses: actions/checkout@v6 # actions/checkout@v6
64+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # actions/checkout@v6
6565

6666
- name: Set up Go 1.x
6767
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # actions/setup-go@v5

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
12+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # actions/checkout@v6
1313

1414
- name: Get tag name
1515
id: tag
16-
uses: haya14busa/action-cond@d0c3785880c08a358711ee8047f593cbcf1cdcfd
16+
uses: haya14busa/action-cond@d0c3785880c08a358711ee8047f593cbcf1cdcfd # haya14busa/action-cond@v1
1717
with:
1818
cond: "${{ startsWith(github.ref, 'refs/tags/') }}"
1919
if_true: ${{ github.ref }}
@@ -31,22 +31,22 @@ jobs:
3131
sed -i '/^appVersion:/c\appVersion: "${{steps.version_tag.outputs.tag_chart}}"' ./helm/tracker/Chart.yaml
3232
3333
- if: steps.tag.outputs.value != ''
34-
uses: stefanzweifel/git-auto-commit-action@v7
34+
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # stefanzweifel/git-auto-commit-action@v7
3535
with:
3636
commit_message: "ci: bump charts to ${{steps.version_tag.outputs.tag}}"
3737
branch: main
3838

3939
- name: Set up Docker Buildx
40-
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
40+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # docker/setup-buildx-action@v3
4141

4242
- name: Login to Docker Hub
43-
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
43+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # docker/login-action@v3
4444
with:
4545
username: ${{secrets.DOCKER_USERNAME}}
4646
password: ${{ secrets.DOCKER_AUTH_TOKEN }}
4747

4848
- name: Build and Push Docker Image
49-
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25
49+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # docker/build-push-action@v5
5050
with:
5151
context: .
5252
push: true

0 commit comments

Comments
 (0)