test(trivy-install): test self-runner #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: trivy-install | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install trivy | |
uses: aquasecurity/[email protected] | |
with: | |
version: v0.56.2 | |
cache: true | |
- name: Test trivy run | |
shell: bash | |
run: trivy -v |