@@ -16,20 +16,14 @@ jobs:
1616 fetch-depth : 0
1717 - uses : actions/setup-node@v4
1818 with :
19- node-version : 22
19+ node-version : 24
20+ cache : ' npm'
21+ cache-dependency-path : frontend/package-lock.json
2022 - uses : actions/setup-go@v5
2123 with :
22- go-version : 1.25.4
23- - name : npm cache download
24- uses : actions/cache/restore@v4
25- with :
26- path : ${{ github.workspace }}/frontend/node_modules
27- key : npm-cache
28- - name : go cache download
29- uses : actions/cache/restore@v4
30- with :
31- path : ${{ github.workspace }}/.go
32- key : go-cache
24+ go-version : 1.25.5
25+ cache : true
26+ cache-dependency-path : " **/go.sum"
3327 - name : Lint
3428 run : make check
3529 - name : Sonarqube
@@ -46,10 +40,14 @@ jobs:
4640 - uses : actions/checkout@v5
4741 - uses : actions/setup-node@v4
4842 with :
49- node-version : 22
43+ node-version : 24
44+ cache : ' npm'
45+ cache-dependency-path : frontend/package-lock.json
5046 - uses : actions/setup-go@v5
5147 with :
52- go-version : 1.25.4
48+ go-version : 1.25.5
49+ cache : true
50+ cache-dependency-path : " **/go.sum"
5351 - name : Install nfpm
5452 run : |
5553 echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list
6765 with :
6866 username : ${{ secrets.DOCKERHUB_USERNAME }}
6967 password : ${{ secrets.DOCKERHUB_TOKEN }}
70- - name : npm cache download
71- uses : actions/cache/restore@v4
72- with :
73- path : ${{ github.workspace }}/frontend/node_modules
74- key : npm-cache
75- - name : go cache download
76- uses : actions/cache/restore@v4
77- with :
78- path : ${{ github.workspace }}/.go
79- key : go-cache
8068 - name : Build and release
8169 env :
8270 GOPATH : ${{ github.workspace }}/.go
9583 build/nginx-ignition*.apk
9684 build/nginx-ignition*.pkg.tar.zst
9785 build/nginx-ignition*.ipk
98- - name : npm cache upload
99- uses : actions/cache/save@v4
100- with :
101- path : ${{ github.workspace }}/frontend/node_modules
102- key : npm-cache
103- - name : go cache upload
104- uses : actions/cache/save@v4
105- with :
106- path : ${{ github.workspace }}/.go
107- key : go-cache
0 commit comments