Skip to content

Commit aa82500

Browse files
committed
use golangci-lint action
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent be12d6c commit aa82500

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Checkout
1010
uses: actions/checkout@v2
1111
- name: Lint code
12-
run: DOCKER_BUILDKIT=1 make lint
12+
uses: golangci/golangci-lint-action@v2
1313
- name: Check license
1414
run: DOCKER_BUILDKIT=1 make check-license
1515

ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ FROM golang:1.17
1616

1717
WORKDIR /go/src
1818

19-
ARG GOLANGCILINT_VERSION=v1.24.0
19+
ARG GOLANGCILINT_VERSION=v1.44.1
2020
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCILINT_VERSION}
2121
RUN go get -v -u github.com/kunalkushwaha/ltag && rm -rf /go/src/github.com/kunalkushwaha
2222

0 commit comments

Comments
 (0)