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 038e767 commit 43ae0c1Copy full SHA for 43ae0c1
.github/workflows/golangci-lint.yml
@@ -0,0 +1,24 @@
1
+name: golangci-lint
2
+on:
3
+ push:
4
+ tags:
5
+ - v*
6
+ branches:
7
+ - master
8
+ - main
9
+ pull_request:
10
+permissions:
11
+ contents: read
12
+ # Optional: allow read access to pull request. Use with `only-new-issues` option.
13
+ # pull-requests: read
14
+jobs:
15
+ golangci:
16
+ name: lint
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: golangci-lint
21
+ uses: golangci/golangci-lint-action@v2
22
+ with:
23
+ # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
24
+ version: v1.29
0 commit comments