@@ -11,21 +11,16 @@ jobs:
1111 lint :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v6
1515
16- - name : Set Swap Space
17- uses : pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c
18- with :
19- swap-size-gb : 12
16+ - name : Setup runner
17+ uses : ./.github/actions/setup-runner
2018
21- - uses : actions/setup-go@v5
22- with :
23- go-version-file : ' go.mod'
24- cache-dependency-path : " go.sum"
25- check-latest : true
19+ - name : Setup go
20+ uses : ./.github/actions/setup-go
2621
2722 - name : Run Golangci lint
28- uses : golangci/golangci-lint-action@v7
23+ uses : golangci/golangci-lint-action@v9
2924 with :
3025 version : latest
3126 args : --print-resources-usage
@@ -44,18 +39,13 @@ jobs:
4439
4540 runs-on : ubuntu-latest
4641 steps :
47- - uses : actions/checkout@v4
42+ - uses : actions/checkout@v6
4843
49- - name : Set Swap Space
50- uses : pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c
51- with :
52- swap-size-gb : 12
44+ - name : Setup runner
45+ uses : ./.github/actions/setup-runner
5346
54- - uses : actions/setup-go@v5
55- with :
56- go-version-file : ' go.mod'
57- cache-dependency-path : " go.sum"
58- check-latest : true
47+ - name : Setup go
48+ uses : ./.github/actions/setup-go
5949
6050 - name : Docker meta
6151 id : docker_meta
10191 push : ${{ inputs.publish }}
10292 tags : ${{ steps.docker_meta.outputs.tags }}
10393 labels : ${{ steps.docker_meta.outputs.labels }}
94+ cache-from : type=gha
95+ cache-to : type=gha,mode=max
0 commit comments