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 7f3ce4e commit 33099e0Copy full SHA for 33099e0
.github/workflows/ci.yml
@@ -28,10 +28,12 @@ jobs:
28
git diff --exit-code go.mod
29
git diff --exit-code go.sum
30
31
- - name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
32
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
+ - name: Run golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
+ uses: golangci/golangci-lint-action@v6
33
+ with:
34
+ args: --verbose
35
+ version: ${{ env.GOLANGCI_LINT_VERSION }}
36
- - name: Make
- run: |
- make
37
- git diff --exit-code
+ - run: make test
38
+
39
+ - run: make install
.golangci.yaml
@@ -0,0 +1,3 @@
1
+linters:
2
+ enable:
3
+ - gofmt
0 commit comments