We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85c39b commit 0f64cfeCopy full SHA for 0f64cfe
.github/workflows/trivy-plugin-test.yml
@@ -33,11 +33,14 @@ jobs:
33
34
- name: Run Trivy plugin tests
35
run: |
36
+ # Store the path to the CLI
37
+ CLI_PATH="$(pwd)/cli-v2"
38
+ # Change to test directory
39
cd plugins/tools/trivy/test
40
# Install the plugin
- ../../../cli-v2 install
41
+ "$CLI_PATH" install
42
# Run analysis
- ../../../cli-v2 analyze --tool trivy --format sarif --output actual.sarif
43
+ "$CLI_PATH" analyze --tool trivy --format sarif --output actual.sarif
44
# Compare with expected output
45
diff expected.sarif actual.sarif
46
# Clean up
0 commit comments