Skip to content

ci(trivy-install): test setup-trivy v0.2.0 #56

ci(trivy-install): test setup-trivy v0.2.0

ci(trivy-install): test setup-trivy v0.2.0 #56

name: trivy-action
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in fs mode
uses: DmitriyLewen/trivy-action@c4f287b428b429441a367965327f9828dfd564c0
with:
scan-type: 'fs'
image-ref: '.'
format: 'table'
exit-code: '0'
vuln-type: 'os,library'
version: "v0.56.1"