chore(deps): bump setup-trivy to v0.2.1 (#411) #126
Workflow file for this run
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: Test | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
env: | |
TRIVY_VERSION: 0.56.1 | |
BATS_LIB_PATH: '/usr/lib/' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Bats and bats libs | |
uses: bats-core/[email protected] | |
- name: Install Trivy | |
run: | | |
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v${{ env.TRIVY_VERSION }} | |
trivy --version | |
- name: Test | |
run: bats --recursive --timing --verbose-run . | |
env: | |
TRIVY_CACHE_DIR: .cache | |
TRIVY_DISABLE_VEX_NOTICE: true | |
TRIVY_DEBUG: true |