Skip to content

Commit c64e6de

Browse files
committed
all: fix build
1 parent 33d6a29 commit c64e6de

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/push.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,15 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
1315
- name: Install Go
14-
uses: actions/setup-go@v2
16+
uses: actions/setup-go@v5
1517
with:
16-
go-version: 1.21.x
17-
- name: Checkout code
18-
uses: actions/checkout@v2
18+
go-version-file: 'go.mod'
1919
- name: Test
2020
run: go test -race ./...
2121
- name: Vet
2222
run: go vet ./...
2323
- name: Mod verify
2424
run: go mod verify
25-
- name: Staticcheck
26-
run: |
27-
go get honnef.co/go/tools/cmd/staticcheck
28-
staticcheck ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/davecheney/httpstat
22

3-
go 1.21
3+
go 1.23
44

55
require github.com/fatih/color v1.18.0
66

0 commit comments

Comments
 (0)