Skip to content

Bump golang.org/x/mod from 0.12.0 to 0.14.0 (#45) #50

Bump golang.org/x/mod from 0.12.0 to 0.14.0 (#45)

Bump golang.org/x/mod from 0.12.0 to 0.14.0 (#45) #50

Workflow file for this run

name: trivy scan
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.16.0
with:
scan-type: 'fs'
format: 'sarif'
output: 'trivy-results.sarif'
scanners: 'vuln,secret,config'
severity: 'CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'