Skip to content

test(trivy-action): token-setup-trivy doesn't exist #66

test(trivy-action): token-setup-trivy doesn't exist

test(trivy-action): token-setup-trivy doesn't exist #66

name: trivy-action
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in fs mode
uses: DmitriyLewen/trivy-action@e78daca2a1cb92de6fd1ba645bd146b851efc10c
with:
scan-type: 'fs'
image-ref: '.'
format: 'table'
exit-code: '0'
vuln-type: 'os,library'
version: "v0.56.2"
cache: false