File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Go
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : actions/setup-go@v5
15+ with :
16+ go-version : ' 1.25'
17+ - name : golangci-lint
18+ uses : golangci/golangci-lint-action@v7
19+ with :
20+ version : v2.4
21+
22+ test :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+ - uses : actions/setup-go@v5
27+ with :
28+ go-version : ' 1.25'
29+ - name : Test
30+ run : go test -v ./...
31+ - name : Vet
32+ run : go vet ./...
Original file line number Diff line number Diff line change 2020 - name : Set up Go
2121 uses : actions/setup-go@v5
2222 with :
23- go-version : ' 1.21 '
23+ go-version : ' 1.25 '
2424
2525 - name : Run Tests
2626 run : go test -v ./...
4040 - name : Set up Go
4141 uses : actions/setup-go@v5
4242 with :
43- go-version : ' 1.21 '
43+ go-version : ' 1.25 '
4444
4545 - name : Generate Man and Completions
4646 run : |
You can’t perform that action at this time.
0 commit comments