Changed CI Workflow
This commit is contained in:
parent
9932cdcba2
commit
9675dfe346
1 changed files with 6 additions and 2 deletions
|
@ -8,7 +8,9 @@ steps:
|
|||
- go vet $(go list ./... | grep -v /vendor/)
|
||||
- go test -race $(go list ./... | grep -v /vendor/)
|
||||
when:
|
||||
- event: [push, pull_request, cron]
|
||||
- event: [push, cron]
|
||||
branch: [main, develop]
|
||||
- event: pull_request
|
||||
|
||||
- name: check-sec
|
||||
image: golang
|
||||
|
@ -17,4 +19,6 @@ steps:
|
|||
- go get -v -d .
|
||||
- gosec ./...
|
||||
when:
|
||||
- event: [push, pull_request, cron]
|
||||
- event: [push, cron]
|
||||
branch: [main, develop]
|
||||
- event: pull_request
|
Loading…
Add table
Reference in a new issue