There was an error while loading. Please reload this page.
2 parents a71359e + 86a6980 commit 1f44fc6Copy full SHA for 1f44fc6
1 file changed
.github/workflows/lint.yml
@@ -0,0 +1,25 @@
1
+name: golangci-lint
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+
8
+permissions:
9
+ contents: read
10
+ # Optional: allow read access to pull request. Use with `only-new-issues` option.
11
+ # pull-requests: read
12
13
+jobs:
14
+ golangci:
15
+ name: lint
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: actions/setup-go@v5
20
+ with:
21
+ go-version: stable
22
+ - name: golangci-lint
23
+ uses: golangci/golangci-lint-action@v7
24
25
+ version: v2.0
0 commit comments