File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,27 +12,17 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v5
15-
16- - name : Set up Go
17- uses : actions/setup-go@v6
18- with :
19- go-version : " 1.25"
15+ - uses : jdx/mise-action@v2
2016
2117 - name : Run golangci-lint
22- uses : golangci/golangci-lint-action@v9
23- with :
24- version : v2.6.2
18+ run : golangci-lint run
2519
2620 test :
2721 name : Test
2822 runs-on : ubuntu-latest
2923 steps :
3024 - uses : actions/checkout@v5
31-
32- - name : Set up Go
33- uses : actions/setup-go@v6
34- with :
35- go-version : " 1.25"
25+ - uses : jdx/mise-action@v2
3626
3727 - name : Run tests
3828 run : go test -race -coverprofile=coverage.out ./...
5242 goarch : [amd64, arm64]
5343 steps :
5444 - uses : actions/checkout@v5
55-
56- - name : Set up Go
57- uses : actions/setup-go@v6
58- with :
59- go-version : " 1.25"
45+ - uses : jdx/mise-action@v2
6046
6147 - name : Build
6248 env :
6955 runs-on : ubuntu-latest
7056 steps :
7157 - uses : actions/checkout@v5
72-
73- - name : Set up Go
74- uses : actions/setup-go@v6
75- with :
76- go-version : " 1.25"
58+ - uses : jdx/mise-action@v2
7759
7860 - name : Install UPX
7961 run : |
@@ -111,11 +93,7 @@ jobs:
11193 cmd : python
11294 steps :
11395 - uses : actions/checkout@v5
114-
115- - name : Set up Go
116- uses : actions/setup-go@v6
117- with :
118- go-version : " 1.25"
96+ - uses : jdx/mise-action@v2
11997
12098 - name : Build static binary
12199 run : CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o preflight ./cmd/preflight
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v5
17-
18- - name : Set up Go
19- uses : actions/setup-go@v6
20- with :
21- go-version : ' 1.25'
17+ - uses : jdx/mise-action@v2
2218
2319 - name : Install UPX
2420 run : |
You can’t perform that action at this time.
0 commit comments