mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-17 23:06:27 -08:00
Rolling back gosec check to tool image.
All checks were successful
G'Agent Scan, Build, and Test / scan (push) Successful in 2m7s
G'Agent Scan, Build, and Test / build_simple (push) Successful in 2m36s
G'Agent Scan, Build, and Test / test_simple (push) Successful in 18s
G'Agent Scan, Build, and Test / build_image (push) Successful in 1m34s
All checks were successful
G'Agent Scan, Build, and Test / scan (push) Successful in 2m7s
G'Agent Scan, Build, and Test / build_simple (push) Successful in 2m36s
G'Agent Scan, Build, and Test / test_simple (push) Successful in 18s
G'Agent Scan, Build, and Test / build_image (push) Successful in 1m34s
This commit is contained in:
parent
e1c359639b
commit
48c0bc8537
1 changed files with 3 additions and 4 deletions
|
@ -15,8 +15,7 @@ jobs:
|
|||
container:
|
||||
image: dragonheim/golang:latest
|
||||
steps:
|
||||
- run: apk add --no-cache curl gpg zeromq-dev nodejs npm
|
||||
- run: curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s
|
||||
- run: apk add --no-cache zeromq-dev nodejs npm
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/cache@v4
|
||||
|
@ -24,8 +23,8 @@ jobs:
|
|||
path: .cache/trivy
|
||||
key: tmp.woDBBj4Baw
|
||||
|
||||
- run: /go/bin/trivy fs --no-progress --severity CRITICAL --cache-dir .cache/trivy --exit-code 1 .
|
||||
- run: /go/bin/gosec -exclude=G114 -quiet ./...
|
||||
- run: trivy fs --no-progress --severity CRITICAL --cache-dir .cache/trivy --exit-code 1 .
|
||||
- run: gosec -exclude=G114 -quiet ./...
|
||||
|
||||
build_simple:
|
||||
needs: scan
|
||||
|
|
Loading…
Add table
Reference in a new issue