File tree Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "problemMatcher" : [
3+ {
4+ "owner" : " actionlint" ,
5+ "severity" : " warning" ,
6+ "pattern" : [
7+ {
8+ "regexp" : " ^(?:\\ x1b\\ [\\ d+m)?(.+?)(?:\\ x1b\\ [\\ d+m)*:(?:\\ x1b\\ [\\ d+m)*(\\ d+)(?:\\ x1b\\ [\\ d+m)*:(?:\\ x1b\\ [\\ d+m)*(\\ d+)(?:\\ x1b\\ [\\ d+m)*: (?:\\ x1b\\ [\\ d+m)*(.+?)(?:\\ x1b\\ [\\ d+m)* \\ [(.+?)\\ ]$" ,
9+ "file" : 1 ,
10+ "line" : 2 ,
11+ "column" : 3 ,
12+ "message" : 4 ,
13+ "code" : 5
14+ }
15+ ]
16+ }
17+ ]
18+ }
Original file line number Diff line number Diff line change 1+ name : ' Code Health'
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ workflow_dispatch :
9+
10+ jobs :
11+ code-health :
12+ needs : [build, lint, shellcheck]
13+ runs-on : ubuntu-latest
14+ permissions : {}
15+ steps :
16+ - run : echo "job must have some step"
17+ build :
18+ runs-on : ubuntu-latest
19+ permissions : {}
20+ steps :
21+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
22+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
23+ with :
24+ go-version-file : ' go.mod'
25+ - name : Build
26+ run : make build
27+ lint :
28+ runs-on : ubuntu-latest
29+ permissions : {}
30+ steps :
31+ - name : Checkout
32+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
33+ - name : Install Go
34+ uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
35+ with :
36+ go-version-file : ' go.mod'
37+ cache : false # see https://github.com/golangci/golangci-lint-action/issues/807
38+ - name : golangci-lint
39+ uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
40+ with :
41+ version : v1.62.2 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version
42+ - name : actionlint
43+ run : |
44+ make tools
45+ echo "::add-matcher::.github/actionlint-matcher.json"
46+ actionlint -color
47+ shell : bash
48+ shellcheck :
49+ runs-on : ubuntu-latest
50+ permissions : {}
51+ steps :
52+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
53+ - name : Run ShellCheck
54+ uses : bewuethr/shellcheck-action@d01912909579c4b1a335828b8fca197fbb8e0aa4
You can’t perform that action at this time.
0 commit comments