Skip to content

test(trivy-install): latest + cache + . path #86

test(trivy-install): latest + cache + . path

test(trivy-install): latest + cache + . path #86

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@817844449d9ae5108993e6eef53e40e4bca09b20
with:
cache: true
path: '.'
- name: Test trivy run
shell: bash
run: trivy -v