Skip to content

Commit

Permalink
remove 1.18, specify version of staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrage committed Feb 8, 2023
1 parent fa5394d commit d371ce5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
lint:
strategy:
matrix:
go: [1.18, 1.19]
go: [1.19]
name: lint
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ gen-cmd:

# run all validation tests
.PHONY: validate
validate: gofmt vet staticcheck
validate: gofmt vet

.PHONY: vet
vet:
Expand All @@ -114,7 +114,7 @@ test: bin test-dep validate test-unit-cover install test-cmd
test-dep:
go install github.com/mattn/goveralls@latest
go install github.com/modocache/gover@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
go install honnef.co/go/tools/cmd/staticcheck@2023.1
go install github.com/mitchellh/gox@latest


Expand Down
2 changes: 1 addition & 1 deletion script/test_in_container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV PATH="$PATH:$GOPATH/bin:$GOROOT/bin" \
WORKDIR /tmp/go
RUN curl https://storage.googleapis.com/golang/go$GOVERSION.linux-amd64.tar.gz | tar -xz -C /usr/local

RUN go get honnef.co/go/tools/cmd/staticcheck@latest
RUN go get honnef.co/go/tools/cmd/staticcheck@2023.1

WORKDIR $KOMPOSE_SRC
# This image can be run as any user
Expand Down

0 comments on commit d371ce5

Please sign in to comment.