Skip to content

Commit d5e98d6

Browse files
committed
Fix GitHub Actions version tags
- Fix actions/setup-go from v5.5 to v5 (correct tag format) - Fix actions/upload-artifact from v4.6 to v4 (correct tag format) - GitHub Actions use major.minor version tags, not semver patch versions - All workflows now use correct action version formats
1 parent 2e6f0d4 commit d5e98d6

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
fetch-depth: 0 # Shallow clones should be disabled for better analysis
3636

3737
- name: Set up Go
38-
uses: actions/setup-go@v5.5
38+
uses: actions/setup-go@v5
3939
with:
4040
go-version: ${{ env.GO_VERSION }}
4141
check-latest: true
@@ -77,7 +77,7 @@ jobs:
7777
- uses: actions/checkout@v5
7878

7979
- name: Set up Go
80-
uses: actions/setup-go@v5.5
80+
uses: actions/setup-go@v5
8181
with:
8282
go-version: ${{ env.GO_VERSION }}
8383

@@ -98,7 +98,7 @@ jobs:
9898
- uses: actions/checkout@v5
9999

100100
- name: Set up Go
101-
uses: actions/setup-go@v5.5
101+
uses: actions/setup-go@v5
102102
with:
103103
go-version: ${{ env.GO_VERSION }}
104104

@@ -113,7 +113,7 @@ jobs:
113113
- uses: actions/checkout@v5
114114

115115
- name: Set up Go
116-
uses: actions/setup-go@v5.5
116+
uses: actions/setup-go@v5
117117
with:
118118
go-version: ${{ env.GO_VERSION }}
119119

@@ -131,7 +131,7 @@ jobs:
131131
- uses: actions/checkout@v5
132132

133133
- name: Set up Go
134-
uses: actions/setup-go@v5.5
134+
uses: actions/setup-go@v5
135135
with:
136136
go-version: ${{ env.GO_VERSION }}
137137

@@ -156,7 +156,7 @@ jobs:
156156
fetch-depth: 0
157157

158158
- name: Set up Go ${{ matrix.go-version }}
159-
uses: actions/setup-go@v5.5
159+
uses: actions/setup-go@v5
160160
with:
161161
go-version: ${{ matrix.go-version }}
162162
check-latest: true
@@ -196,7 +196,7 @@ jobs:
196196

197197
- name: Archive test results
198198
if: always()
199-
uses: actions/upload-artifact@v4.6
199+
uses: actions/upload-artifact@v4
200200
with:
201201
name: test-results-${{ matrix.os }}-${{ matrix.go-version }}
202202
path: |
@@ -214,7 +214,7 @@ jobs:
214214
fetch-depth: 0
215215

216216
- name: Set up Go
217-
uses: actions/setup-go@v5.5
217+
uses: actions/setup-go@v5
218218
with:
219219
go-version: ${{ env.GO_VERSION }}
220220
check-latest: true
@@ -254,7 +254,7 @@ jobs:
254254
- uses: actions/checkout@v5
255255

256256
- name: Set up Go
257-
uses: actions/setup-go@v5.5
257+
uses: actions/setup-go@v5
258258
with:
259259
go-version: ${{ env.GO_VERSION }}
260260

@@ -278,7 +278,7 @@ jobs:
278278
279279
- name: Upload coverage artifacts
280280
if: always()
281-
uses: actions/upload-artifact@v4.6
281+
uses: actions/upload-artifact@v4
282282
with:
283283
name: coverage-reports
284284
path: |
@@ -314,7 +314,7 @@ jobs:
314314
- uses: actions/checkout@v5
315315

316316
- name: Set up Go
317-
uses: actions/setup-go@v5.5
317+
uses: actions/setup-go@v5
318318
with:
319319
go-version: ${{ env.GO_VERSION }}
320320

@@ -336,7 +336,7 @@ jobs:
336336
fetch-depth: 0
337337

338338
- name: Set up Go
339-
uses: actions/setup-go@v5.5
339+
uses: actions/setup-go@v5
340340
with:
341341
go-version: ${{ env.GO_VERSION }}
342342

@@ -373,7 +373,7 @@ jobs:
373373
fetch-depth: 0
374374

375375
- name: Set up Go
376-
uses: actions/setup-go@v5.5
376+
uses: actions/setup-go@v5
377377
with:
378378
go-version: ${{ env.GO_VERSION }}
379379
check-latest: true
@@ -396,7 +396,7 @@ jobs:
396396

397397
- name: Upload vulnerability report
398398
if: always()
399-
uses: actions/upload-artifact@v4.6
399+
uses: actions/upload-artifact@v4
400400
with:
401401
name: vulnerability-report
402402
path: govulncheck-report.json
@@ -422,7 +422,7 @@ jobs:
422422
queries: security-extended,security-and-quality
423423

424424
- name: Set up Go
425-
uses: actions/setup-go@v5.5
425+
uses: actions/setup-go@v5
426426
with:
427427
go-version: ${{ env.GO_VERSION }}
428428

@@ -457,7 +457,7 @@ jobs:
457457
fetch-depth: 0
458458

459459
- name: Set up Go
460-
uses: actions/setup-go@v5.5
460+
uses: actions/setup-go@v5
461461
with:
462462
go-version: ${{ env.GO_VERSION }}
463463
check-latest: true

.github/workflows/go-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v5
1414
- name: Set up Go
15-
uses: actions/setup-go@v5.5
15+
uses: actions/setup-go@v5
1616
with:
1717
go-version: '1.24'
1818
- name: Install dependencies

0 commit comments

Comments
 (0)