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 5763d43 commit 12b437bCopy full SHA for 12b437b
.github/workflows/lint.yml
@@ -0,0 +1,30 @@
1
+name: Lint and Check Formatting
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint:
11
+ name: Lint and Check Formatting
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v5
16
17
+ - name: Set up Go
18
+ uses: actions/setup-go@v5
19
+ with:
20
+ go-version-file: "go.mod"
21
+ cache: true
22
23
+ - name: Install dependencies
24
+ run: go mod download
25
26
+ - name: Run golangci-lint
27
+ run: golangci-lint run ./...
28
29
+ - name: Run gofumpt
30
+ run: gofumpt -d .
0 commit comments