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 dd6f82e commit 346eb0fCopy full SHA for 346eb0f
.github/workflows/pr.yml
@@ -0,0 +1,31 @@
1
+name: Lint
2
+on:
3
+ pull_request:
4
+
5
+jobs:
6
+ format:
7
+ name: golangci-lint
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: setup-go
11
+ uses: actions/setup-go@v5
12
+ with:
13
+ go-version: '~1.22'
14
+ - name: clone-code
15
+ uses: actions/checkout@v4
16
+ - name: golang-lint-ci
17
+ uses: golangci/golangci-lint-action@v6
18
19
+ version: v1.57
20
+ unit-test:
21
+ name: unit-test
22
23
24
25
26
27
28
29
30
+ - name: unit-tests
31
+ run: go test -v ./...
0 commit comments