Skip to content

Commit

Permalink
all: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
davecheney committed Jan 11, 2025
1 parent 33d6a29 commit c64e6de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Checkout code
uses: actions/checkout@v2
go-version-file: 'go.mod'
- name: Test
run: go test -race ./...
- name: Vet
run: go vet ./...
- name: Mod verify
run: go mod verify
- name: Staticcheck
run: |
go get honnef.co/go/tools/cmd/staticcheck
staticcheck ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/davecheney/httpstat

go 1.21
go 1.23

require github.com/fatih/color v1.18.0

Expand Down

0 comments on commit c64e6de

Please sign in to comment.