@@ -24,10 +24,12 @@ jobs:
2424 name : Backend (Go)
2525 runs-on : ubuntu-latest
2626 steps :
27- - uses : actions/checkout@v6
27+ - uses : actions/checkout@v6.0.2
28+ with :
29+ fetch-depth : 0
2830
2931 - name : Set up Go
30- uses : actions/setup-go@v6
32+ uses : actions/setup-go@v6.4.0
3133 with :
3234 go-version-file : go.mod
3335 cache : true
@@ -38,11 +40,11 @@ jobs:
3840 - name : Verify dependencies
3941 run : go mod verify
4042
43+ - name : Install golangci-lint
44+ run : go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.1
45+
4146 - name : Run golangci-lint
42- uses : golangci/golangci-lint-action@v9
43- with :
44- version : v2.7.2
45- args : --timeout=5m
47+ run : golangci-lint run --timeout=5m --new-from-rev=HEAD~1
4648
4749 - name : Run tests
4850 run : go test -v -race -coverprofile=coverage.out -covermode=atomic ./...
@@ -75,10 +77,10 @@ jobs:
7577 run :
7678 working-directory : ui
7779 steps :
78- - uses : actions/checkout@v6
80+ - uses : actions/checkout@v6.0.2
7981
8082 - name : Set up Node.js
81- uses : actions/setup-node@v6
83+ uses : actions/setup-node@v6.4.0
8284 with :
8385 node-version : ' 25'
8486 cache : ' npm'
9799 run : npm run build
98100
99101 - name : Upload frontend build
100- uses : actions/upload-artifact@v6
102+ uses : actions/upload-artifact@v7.0.1
101103 with :
102104 name : frontend-dist
103105 path : ui/dist/
@@ -110,7 +112,7 @@ jobs:
110112 name : C Lint (C23)
111113 runs-on : ubuntu-latest
112114 steps :
113- - uses : actions/checkout@v6
115+ - uses : actions/checkout@v6.0.2
114116
115117 - name : Install C23 tools (clang-tidy, cppcheck, bear)
116118 run : |
@@ -215,10 +217,10 @@ jobs:
215217 runs-on : ubuntu-latest
216218
217219 steps :
218- - uses : actions/checkout@v6
220+ - uses : actions/checkout@v6.0.2
219221
220222 - name : Set up Go
221- uses : actions/setup-go@v6
223+ uses : actions/setup-go@v6.4.0
222224 with :
223225 go-version-file : go.mod
224226 cache : true
@@ -240,7 +242,7 @@ jobs:
240242 sarif_file : gosec-results.sarif
241243
242244 - name : Set up Node.js
243- uses : actions/setup-node@v6
245+ uses : actions/setup-node@v6.4.0
244246 with :
245247 node-version : ' 25'
246248 cache : ' npm'
@@ -280,7 +282,7 @@ jobs:
280282 name : Quality Checks
281283 runs-on : ubuntu-latest
282284 steps :
283- - uses : actions/checkout@v6
285+ - uses : actions/checkout@v6.0.2
284286
285287 - name : Check for sensitive files
286288 run : |
@@ -339,7 +341,7 @@ jobs:
339341 runs-on : ubuntu-latest
340342
341343 steps :
342- - uses : actions/checkout@v6
344+ - uses : actions/checkout@v6.0.2
343345
344346 - name : Check for locale files
345347 id : check-locales
@@ -419,16 +421,16 @@ jobs:
419421 goos : darwin
420422 goarch : arm64
421423 steps :
422- - uses : actions/checkout@v6
424+ - uses : actions/checkout@v6.0.2
423425
424426 - name : Set up Go
425- uses : actions/setup-go@v6
427+ uses : actions/setup-go@v6.4.0
426428 with :
427429 go-version-file : go.mod
428430 cache : true
429431
430432 - name : Download frontend build
431- uses : actions/download-artifact@v7
433+ uses : actions/download-artifact@v8.0.1
432434 with :
433435 name : frontend-dist
434436 path : ui/dist/
@@ -462,7 +464,7 @@ jobs:
462464 ./bin/stem-${{ matrix.os }}-${{ matrix.arch }} version || true
463465
464466 - name : Upload artifact
465- uses : actions/upload-artifact@v6
467+ uses : actions/upload-artifact@v7.0.1
466468 with :
467469 name : stem-${{ matrix.os }}-${{ matrix.arch }}
468470 path : bin/stem-${{ matrix.os }}-${{ matrix.arch }}
@@ -478,23 +480,23 @@ jobs:
478480 timeout-minutes : 15
479481
480482 steps :
481- - uses : actions/checkout@v6
483+ - uses : actions/checkout@v6.0.2
482484
483485 - name : Set up Go
484- uses : actions/setup-go@v6
486+ uses : actions/setup-go@v6.4.0
485487 with :
486488 go-version-file : go.mod
487489 cache : true
488490
489491 - name : Set up Node.js
490- uses : actions/setup-node@v6
492+ uses : actions/setup-node@v6.4.0
491493 with :
492494 node-version : ' 25'
493495 cache : ' npm'
494496 cache-dependency-path : ui/package-lock.json
495497
496498 - name : Download frontend build
497- uses : actions/download-artifact@v7
499+ uses : actions/download-artifact@v8.0.1
498500 with :
499501 name : frontend-dist
500502 path : ui/dist/
@@ -536,23 +538,23 @@ jobs:
536538 timeout-minutes : 30
537539
538540 steps :
539- - uses : actions/checkout@v6
541+ - uses : actions/checkout@v6.0.2
540542
541543 - name : Set up Go
542- uses : actions/setup-go@v6
544+ uses : actions/setup-go@v6.4.0
543545 with :
544546 go-version-file : go.mod
545547 cache : true
546548
547549 - name : Set up Node.js
548- uses : actions/setup-node@v6
550+ uses : actions/setup-node@v6.4.0
549551 with :
550552 node-version : ' 25'
551553 cache : ' npm'
552554 cache-dependency-path : ui/package-lock.json
553555
554556 - name : Download frontend build
555- uses : actions/download-artifact@v7
557+ uses : actions/download-artifact@v8.0.1
556558 with :
557559 name : frontend-dist
558560 path : ui/dist/
@@ -594,15 +596,15 @@ jobs:
594596 run : npx playwright test --project=chromium --reporter=html
595597
596598 - name : Upload Playwright report
597- uses : actions/upload-artifact@v6
599+ uses : actions/upload-artifact@v7.0.1
598600 if : always()
599601 with :
600602 name : playwright-report
601603 path : ui/playwright-report/
602604 retention-days : 7
603605
604606 - name : Upload server logs on failure
605- uses : actions/upload-artifact@v6
607+ uses : actions/upload-artifact@v7.0.1
606608 if : failure()
607609 with :
608610 name : e2e-server-logs
0 commit comments