|
1 | | -- id: go-fmt-import |
2 | | - name: 'go import/fmt' |
3 | | - entry: run-go-fmt-import.sh |
4 | | - files: '\.go$' |
5 | | - language: 'script' |
6 | | - description: "Runs `goimport,gofmt`, requires golang" |
7 | | - |
8 | | -- id: go-vet |
9 | | - name: 'go vet' |
10 | | - entry: run-go-vet.sh |
11 | | - files: '\.go$' |
12 | | - language: 'script' |
13 | | - description: "Runs `go vet`, requires golang" |
14 | | - |
15 | | -- id: go-lint |
16 | | - name: 'golint' |
17 | | - entry: run-go-lint.sh |
18 | | - files: '\.go$' |
19 | | - language: 'script' |
20 | | - description: "Runs `go lint`, requires golang" |
21 | | - |
22 | | -- id: go-unit-tests |
23 | | - name: 'go unit test' |
24 | | - entry: run-go-unit-tests.sh |
25 | | - files: '\.go$' |
26 | | - language: 'script' |
27 | | - description: "Runs `go test`, requires golang" |
28 | | - |
29 | | -- id: gofumpt |
30 | | - name: 'gofumpt' |
31 | | - entry: run-go-gofumpt.sh |
32 | | - files: '\.go$' |
33 | | - language: 'script' |
34 | | - description: "Runs `gofumpt`, requires github.com/mvdan/gofumpt" |
35 | | - |
36 | | -- id: go-err-check |
37 | | - name: 'go errcheck' |
38 | | - entry: run-go-err-check.sh |
39 | | - files: '\.go$' |
40 | | - language: 'script' |
41 | | - description: "Runs `errcheck`, requires github.com/kisielk/errcheck" |
42 | | - |
43 | | -- id: go-static-check |
44 | | - name: 'go staticcheck' |
45 | | - entry: run-go-static-check.sh |
46 | | - files: '\.go$' |
47 | | - language: 'script' |
48 | | - description: "Runs `staticcheck`, install https://staticcheck.io/docs/" |
49 | | - |
50 | | -- id: golangci-lint |
51 | | - name: 'go golangci-lint' |
52 | | - entry: run-golangci-lint.sh |
53 | | - files: '\.go$' |
54 | | - language: 'script' |
55 | | - description: "Runs `golangci-lint`, install https://github.com/golangci/golangci-lint" |
| 1 | +- id: go-fmt-import |
| 2 | + name: "go import/fmt" |
| 3 | + entry: run-go-fmt-import.sh |
| 4 | + files: '\.go$' |
| 5 | + language: "script" |
| 6 | + description: "Runs `goimport,gofmt`, requires golang" |
| 7 | + |
| 8 | +- id: go-vet |
| 9 | + name: "go vet" |
| 10 | + entry: run-go-vet.sh |
| 11 | + files: '\.go$' |
| 12 | + language: "script" |
| 13 | + description: "Runs `go vet`, requires golang" |
| 14 | + |
| 15 | +- id: go-lint |
| 16 | + name: "golint" |
| 17 | + entry: run-go-lint.sh |
| 18 | + files: '\.go$' |
| 19 | + language: "script" |
| 20 | + description: "Runs `go lint`, requires golang" |
| 21 | + |
| 22 | +- id: go-unit-tests |
| 23 | + name: "go unit test" |
| 24 | + entry: run-go-unit-tests.sh |
| 25 | + files: '\.go$' |
| 26 | + language: "script" |
| 27 | + description: "Runs `go test`, requires golang" |
| 28 | + |
| 29 | +- id: gofumpt |
| 30 | + name: "gofumpt" |
| 31 | + entry: run-go-gofumpt.sh |
| 32 | + files: '\.go$' |
| 33 | + language: "script" |
| 34 | + description: "Runs `gofumpt`, requires github.com/mvdan/gofumpt" |
| 35 | + |
| 36 | +- id: go-err-check |
| 37 | + name: "go errcheck" |
| 38 | + entry: run-go-err-check.sh |
| 39 | + files: '\.go$' |
| 40 | + language: "script" |
| 41 | + description: "Runs `errcheck`, requires github.com/kisielk/errcheck" |
| 42 | + |
| 43 | +- id: go-static-check |
| 44 | + name: "go staticcheck" |
| 45 | + entry: run-go-static-check.sh |
| 46 | + files: '\.go$' |
| 47 | + language: "script" |
| 48 | + description: "Runs `staticcheck`, install https://staticcheck.io/docs/" |
| 49 | + |
| 50 | +- id: golangci-lint |
| 51 | + name: "go golangci-lint" |
| 52 | + entry: run-golangci-lint.sh |
| 53 | + files: '\.go$' |
| 54 | + language: "script" |
| 55 | + description: "Runs `golangci-lint`, install https://github.com/golangci/golangci-lint" |
| 56 | + |
| 57 | +- id: go-ruleguard |
| 58 | + name: "go-ruleguard" |
| 59 | + entry: run-go-ruleguard.sh |
| 60 | + files: '\.go$' |
| 61 | + language: "script" |
| 62 | + description: "Runs `go-ruleguard`, install https://github.com/quasilyte/go-ruleguard" |
0 commit comments