File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Code QA and validation
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ code-qa :
13
+ name : Code QA
14
+ runs-on : ubuntu-24.04
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+
18
+ - name : Set up Go + testing tools
19
+ uses : actions/setup-go@v4
20
+ with :
21
+ go-version : " 1.23"
22
+
23
+ - name : Staticcheck
24
+ run : |
25
+ go install honnef.co/go/tools/cmd/[email protected]
26
+ staticcheck ./...
27
+
28
+ - name : Gofumpt
29
+ run : |
30
+ go install mvdan.cc/[email protected]
31
+ output=$(gofumpt -l .)
32
+ if [ ! -z "$output" ]; then echo "$output" && exit 1; fi
33
+ shell : bash
34
+
35
+ - name : Vulnerabilities
36
+ run : |
37
+ go install golang.org/x/vuln/cmd/govulncheck@latest
38
+ govulncheck ./...
39
+
40
+ - name : Vet
41
+ run : |
42
+ go vet ./...
You can’t perform that action at this time.
0 commit comments