We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d077171 commit ddfc831Copy full SHA for ddfc831
.github/workflows/main.yml
@@ -17,7 +17,6 @@ jobs:
17
runs-on: ubuntu-latest
18
env:
19
GO_VERSION: stable
20
- GOLANGCI_LINT_VERSION: v2.4.0
21
CGO_ENABLED: 0
22
23
steps:
@@ -32,9 +31,10 @@ jobs:
32
31
git diff --exit-code go.mod
33
git diff --exit-code go.sum
34
35
- # https://golangci-lint.run/usage/install#other-ci
36
- - name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
37
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
+ - name: lint
+ uses: golangci/[email protected]
+ with:
+ version: latest
38
39
- name: Make
40
- run: make
+ run: make clean test build
0 commit comments