File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,15 @@ jobs:
10
10
test :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@v4
13
15
- name : Install Go
14
- uses : actions/setup-go@v2
16
+ uses : actions/setup-go@v5
15
17
with :
16
- go-version : 1.21.x
17
- - name : Checkout code
18
- uses : actions/checkout@v2
18
+ go-version-file : ' go.mod'
19
19
- name : Test
20
20
run : go test -race ./...
21
21
- name : Vet
22
22
run : go vet ./...
23
23
- name : Mod verify
24
24
run : go mod verify
25
- - name : Staticcheck
26
- run : |
27
- go get honnef.co/go/tools/cmd/staticcheck
28
- staticcheck ./...
Original file line number Diff line number Diff line change 1
1
module github.com/davecheney/httpstat
2
2
3
- go 1.21
3
+ go 1.23
4
4
5
5
require github.com/fatih/color v1.18.0
6
6
You can’t perform that action at this time.
0 commit comments