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

This commit is contained in:
James Wells 2024-12-28 11:05:51 -08:00
parent e1c359639b
commit 48c0bc8537
Signed by: jwells
GPG key ID: 73196D10B8E65666

View file

@ -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