Correct issue introduced in commit ee6a4f5 (related to #343) #416
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: "build" | |
on: [push, pull_request] | |
env: | |
TRIVY_VERSION: 0.50.2 | |
BATS_LIB_PATH: '/usr/lib/' | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.7.0 | |
- name: Setup Bats libs | |
uses: brokenpip3/setup-bats-libs@0.1.0 | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- 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 }} | |
- name: Test | |
run: BATS_LIB_PATH=${{ env.BATS_LIB_PATH }} bats --recursive --timing . |