We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a2df0 commit 9fbbca7Copy full SHA for 9fbbca7
1 file changed
.github/workflows/golangci-lint.yaml
@@ -0,0 +1,27 @@
1
+name: golangci-lint
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ - master
7
+ pull_request:
8
+ workflow_dispatch:
9
+
10
+permissions:
11
+ contents: read
12
+ # Optional: allow read access to pull requests. Use with `only-new-issues` option.
13
+ # pull-requests: read
14
15
+jobs:
16
+ golangci:
17
+ name: lint
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: actions/setup-go@v5
22
+ with:
23
+ go-version: stable
24
+ - name: golangci-lint
25
+ uses: golangci/golangci-lint-action@v8
26
27
+ version: v2.1
0 commit comments