Skip to content

test(trivy-install): test #75

test(trivy-install): test

test(trivy-install): test #75

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@b942329f51276b24073808599a066ec6449c87fa
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