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 bdea4c7 commit 360e0aaCopy full SHA for 360e0aa
.github/workflows/lint.yml
@@ -0,0 +1,29 @@
1
+name: Run golangci-lint
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint:
11
+ name: Run golangci-lint
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Print All environment variables
18
+ run: env | sort
19
20
+ - name: Set up Go
21
+ uses: actions/setup-go@v5
22
23
+ - name: Install golangci-lint
24
+ uses: golangci/golangci-lint-action@v7
25
+ with:
26
+ version: latest
27
28
+ - name: Run golangci-lint
29
+ run: golangci-lint run ./...
.github/workflows/main.yml renamed to .github/workflows/test.yml
0 commit comments