9
9
10
10
env :
11
11
GO_VERSION : ' 1.21'
12
- GOLANGCI_LINT_VERSION : ' v1.54 '
12
+ GOLANGCI_LINT_VERSION : ' v1.62.2 '
13
13
14
14
jobs :
15
15
# ==================================================
30
30
go-version : ${{ env.GO_VERSION }}
31
31
32
32
- name : 📦 Cache Go Modules
33
- uses : actions/cache@v3
33
+ uses : actions/cache@v4
34
34
with :
35
35
path : |
36
36
~/.cache/go-build
49
49
args : --timeout=10m --config=.golangci.yml
50
50
51
51
- name : 🔒 Run gosec Security Scanner
52
- uses : securecodewarrior/github-action- gosec@master
52
+ uses : securego/ gosec@v2.21.4
53
53
with :
54
54
args : ' -fmt sarif -out gosec-results.sarif ./...'
55
55
continue-on-error : true
@@ -101,7 +101,7 @@ jobs:
101
101
go-version : ${{ matrix.go-version }}
102
102
103
103
- name : 📦 Cache Go Modules
104
- uses : actions/cache@v3
104
+ uses : actions/cache@v4
105
105
with :
106
106
path : |
107
107
~/.cache/go-build
@@ -153,7 +153,7 @@ jobs:
153
153
154
154
- name : 📦 Upload Coverage Artifacts
155
155
if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.21'
156
- uses : actions/upload-artifact@v3
156
+ uses : actions/upload-artifact@v4
157
157
with :
158
158
name : coverage-report
159
159
path : |
@@ -178,7 +178,7 @@ jobs:
178
178
go-version : ${{ env.GO_VERSION }}
179
179
180
180
- name : 📦 Cache Go Modules
181
- uses : actions/cache@v3
181
+ uses : actions/cache@v4
182
182
with :
183
183
path : |
184
184
~/.cache/go-build
@@ -222,7 +222,7 @@ jobs:
222
222
go-version : ${{ env.GO_VERSION }}
223
223
224
224
- name : 📦 Cache Go Modules
225
- uses : actions/cache@v3
225
+ uses : actions/cache@v4
226
226
with :
227
227
path : |
228
228
~/.cache/go-build
@@ -257,7 +257,7 @@ jobs:
257
257
fi
258
258
259
259
- name : 📦 Upload Build Artifacts
260
- uses : actions/upload-artifact@v3
260
+ uses : actions/upload-artifact@v4
261
261
with :
262
262
name : aura-${{ matrix.goos }}-${{ matrix.goarch }}
263
263
path : dist/aura-${{ matrix.goos }}-${{ matrix.goarch }}.*
@@ -328,7 +328,7 @@ jobs:
328
328
echo "Generated version: $VERSION"
329
329
330
330
- name : 📥 Download All Artifacts
331
- uses : actions/download-artifact@v3
331
+ uses : actions/download-artifact@v4
332
332
with :
333
333
path : artifacts
334
334
0 commit comments