Skip to content

Commit

Permalink
Fix earthly lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusvniekerk committed Apr 2, 2024
1 parent a071348 commit 257eb58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
VERSION 0.7

ARG ALPINE_VERSION=3.18
ARG GO_VERSION=1.21
ARG LINTER_VERSION=v1.56.2
ARG --global ALPINE_VERSION=3.18
ARG --global GO_VERSION=1.21
ARG --global LINTER_VERSION=v1.57.2
FROM golang:$GO_VERSION-alpine$ALPINE_VERSION
WORKDIR /app

Expand All @@ -20,7 +20,7 @@ lint:
# Installs golangci-lint to ./bin
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s $LINTER_VERSION
COPY +stage/app .
RUN ./bin/golangci-lint run --skip-dirs=vendor --skip-dirs=./gen/ --deadline=10m --tests=true -E revive \
RUN ./bin/golangci-lint run --skip-dirs=vendor --skip-dirs=./gen/ --timeout=10m --tests=true -E revive \
-E gosec -E unconvert -E goconst -E gocyclo -E goimports

build:
Expand Down
2 changes: 1 addition & 1 deletion protos/cases/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ message TestReservedGoFieldNames {
string switch = 24;
string type = 25;
string var = 26;
}
}

0 comments on commit 257eb58

Please sign in to comment.