This commit is contained in:
parent
fa21716736
commit
e19d0fd3a2
@ -5,5 +5,8 @@ jobs:
|
|||||||
scans:
|
scans:
|
||||||
runs-on: smoke-test
|
runs-on: smoke-test
|
||||||
steps:
|
steps:
|
||||||
|
- name: "clone code"
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: "security scan"
|
- name: "security scan"
|
||||||
uses: https://code.jakeyoungdev.com/actions/security@main #update this to a tag after first successful run
|
uses: https://code.jakeyoungdev.com/actions/security@main #update this to a tag after first successful run
|
@ -1,17 +0,0 @@
|
|||||||
name: "test"
|
|
||||||
on: push #runs on pushes to any branch
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: smoke-test
|
|
||||||
steps:
|
|
||||||
- name: "dependency and stdlib scan"
|
|
||||||
uses: golang/govulncheck-action@v1.0.4
|
|
||||||
with:
|
|
||||||
go-package: ./...
|
|
||||||
go-version-file: go.mod
|
|
||||||
|
|
||||||
- name: "static code analysis"
|
|
||||||
uses: securego/gosec@v2.22.3
|
|
||||||
with:
|
|
||||||
args: ./...
|
|
Loading…
x
Reference in New Issue
Block a user