File tree Expand file tree Collapse file tree 1 file changed +3
-36
lines changed
Expand file tree Collapse file tree 1 file changed +3
-36
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ name: Go
55
66on :
77 push :
8- branches : [ "master" ]
8+ branches : [ "master", "main" ]
99 pull_request :
10- branches : [ "master" ]
10+ branches : [ "master", "main" ]
1111
1212jobs :
1313 test :
1414 runs-on : ubuntu-latest
1515 strategy :
1616 matrix :
17- go-version : ['1.19 ', '1.20', '1.21 ']
17+ go-version : ['1.21 ', '1.22 ']
1818
1919 steps :
2020 - name : Checkout code
5757 file : ./coverage.out
5858 flags : unittests
5959 name : codecov-umbrella
60-
61- lint :
62- runs-on : ubuntu-latest
63- steps :
64- - name : Checkout code
65- uses : actions/checkout@v4
66-
67- - name : Set up Go
68- uses : actions/setup-go@v4
69- with :
70- go-version : ' 1.21'
71-
72- - name : golangci-lint
73- uses : golangci/golangci-lint-action@v3
74- with :
75- version : latest
76- args : --timeout=5m
77-
78- security :
79- runs-on : ubuntu-latest
80- steps :
81- - name : Checkout code
82- uses : actions/checkout@v4
83-
84- - name : Set up Go
85- uses : actions/setup-go@v4
86- with :
87- go-version : ' 1.21'
88-
89- - name : Run Gosec Security Scanner
90- uses : securecodewarrior/github-action-gosec@master
91- with :
92- args : ' ./...'
You can’t perform that action at this time.
0 commit comments