66 pull_request :
77 branches : [main]
88
9- permissions :
10- contents : read
9+ permissions : {}
1110
1211env :
1312 earthly_version : ^0.7.19
1413 golangci_lint_version : v1.54
1514
1615jobs :
1716 go-mod :
18- runs-on : ubuntu-22.04
17+ runs-on : ubuntu-24.04
18+ permissions :
19+ contents : read
20+ timeout-minutes : 5
1921 steps :
20- - uses : actions/checkout@v4
22+ - uses : actions/checkout@v6
23+ with :
24+ persist-credentials : false
2125
2226 - name : Setup Go
23- uses : actions/setup-go@v5
27+ uses : actions/setup-go@v6
2428 with :
2529 go-version-file : ' go.mod'
2630
3034 run : git diff --exit-code -- go.mod go.sum
3135
3236 go-generate :
33- runs-on : ubuntu-22.04
37+ runs-on : ubuntu-24.04
38+ permissions :
39+ contents : read
40+ timeout-minutes : 5
3441 steps :
35- - uses : actions/checkout@v4
42+ - uses : actions/checkout@v6
43+ with :
44+ persist-credentials : false
3645
3746 - uses : earthly/actions-setup@v1
3847 with :
4554 run : git diff --exit-code
4655
4756 go-build :
48- runs-on : ubuntu-22.04
57+ runs-on : ubuntu-24.04
58+ permissions :
59+ contents : read
60+ timeout-minutes : 5
4961 strategy :
5062 matrix :
5163 go-env :
@@ -56,10 +68,12 @@ jobs:
5668 - name : armv7
5769 env : GOOS=linux GOARCH=arm GOARM=7
5870 steps :
59- - uses : actions/checkout@v4
71+ - uses : actions/checkout@v6
72+ with :
73+ persist-credentials : false
6074
6175 - name : Setup Go
62- uses : actions/setup-go@v5
76+ uses : actions/setup-go@v6
6377 with :
6478 go-version-file : ' go.mod'
6579
@@ -72,16 +86,21 @@ jobs:
7286 path : out/**/*
7387
7488 golangci-lint :
75- runs-on : ubuntu-22.04
89+ runs-on : ubuntu-24.04
90+ permissions :
91+ contents : read
92+ timeout-minutes : 5
7693 steps :
77- - uses : actions/checkout@v4
94+ - uses : actions/checkout@v6
95+ with :
96+ persist-credentials : false
7897
7998 - name : Setup Go
80- uses : actions/setup-go@v5
99+ uses : actions/setup-go@v6
81100 with :
82101 go-version-file : ' go.mod'
83102
84103 - name : Run golangci-lint
85- uses : golangci/golangci-lint-action@v6
104+ uses : golangci/golangci-lint-action@v9
86105 with :
87106 version : ${{ env.golangci_lint_version }}
0 commit comments