Skip to content

Commit

Permalink
update Github
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinburke committed Jul 8, 2024
1 parent 8d856f8 commit 1c9cce3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ jobs:
test:
strategy:
matrix:
go-version: [1.15.x, 1.16.x]
go-version: [1.20.x, 1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: './src/github.com/kevinburke/nacl'
# staticcheck needs this for GOPATH
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ test: vet
go test ./...

$(STATICCHECK):
go get honnef.co/go/tools/cmd/staticcheck
GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@latest

check: $(STATICCHECK)
go list ./... | grep -v vendor | xargs $(STATICCHECK)
$(STATICCHECK) ./...

race-test: check vet
go test -race ./...

vet:
go list ./... | grep -v vendor | xargs go vet
go vet ./...

$(GODOCDOC):
go get github.com/kevinburke/godocdoc
Expand All @@ -31,7 +31,7 @@ $(BENCHSTAT):
go get golang.org/x/perf/cmd/benchstat

bench: $(BENCHSTAT)
go list ./... | grep -v vendor | xargs go test -count=3 -benchtime=2s -bench=. -run='^$$' | $(BENCHSTAT) /dev/stdin
go test -count=3 -benchtime=2s -bench=. -run='^$$' ./... | $(BENCHSTAT) /dev/stdin

$(BUMP_VERSION):
go get github.com/kevinburke/bump_version
Expand Down

0 comments on commit 1c9cce3

Please sign in to comment.