Skip to content

Bump github.com/stretchr/testify from 1.8.2 to 1.9.0 #36

Bump github.com/stretchr/testify from 1.8.2 to 1.9.0

Bump github.com/stretchr/testify from 1.8.2 to 1.9.0 #36

Workflow file for this run

name: Trivy vulnerability scanner
on:
pull_request: {}
push: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.19
id: go
- name: Checkout code
uses: actions/checkout@v3
- name: Build a binary
run: |
go build -a -mod vendor -o example/iscsi-lib-example ./example
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: fs
scan-ref: 'example/iscsi-lib-example'
ignore-unfixed: true
vuln-type: 'os,library'
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH,MEDIUM,LOW'