Skip to content

test(trivy-install): test #76

test(trivy-install): test

test(trivy-install): test #76

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@577e61e28a30c44a7f45ad5ca0763cb5393c29ad
with:
version: v0.56.0
cache: true
- name: Test trivy run
shell: bash
run: |
trivy -v
ls -ahl ~
ls -ahl ~/.local
ls -ahl ~/.local/bin
ls -ahl ~/.local/bin/trivy-bin