Skip to content

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

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

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

name: trivy-install
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: Install trivy
uses: DmitriyLewen/setup-trivy@874ecfd5eca4b7165e0086c9d1bb374c28584604
with:
version: v0.56.0
cache: true
- name: Test trivy run
shell: bash
run: trivy -v