Skip to content

Commit

Permalink
chore: golanci-lint uses go 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n committed Apr 8, 2022
1 parent b4c5e33 commit ece26b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: golang-ci

run:
timeout: 10m
go: '1.18'

linters-settings:
revive:
# see https://github.com/mgechev/revive#available-rules for details.
Expand Down
2 changes: 1 addition & 1 deletion contrib/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apk add --no-cache \
make \
gcc \
musl-dev
RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.0
RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

ENV REPOSITORY github.com/future-architect/vuls
COPY . $GOPATH/src/$REPOSITORY
Expand Down

0 comments on commit ece26b2

Please sign in to comment.