Skip to content

test(trivy-install): v0.56.0 version with cache and path #66

test(trivy-install): v0.56.0 version with cache and path

test(trivy-install): v0.56.0 version with cache and path #66

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@7f9af92a4120ec03d0e947dc435a299201f5ac22
with:
version: v0.56.0
cache: true
path: $HOME
- name: Test trivy run
shell: bash
run: trivy -v