Skip to content

ci(trivy-action): use windows runner #36

ci(trivy-action): use windows runner

ci(trivy-action): use windows runner #36

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@546ae11546ed06c372e0cd03e85c63ec117a84ed
with:
version: latest
cache: true
- name: Test trivy run
run: trivy -v