Filter out non-applicable violations if requested bu policy #1488
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
# This test verifies that gradle-dep-tree.jar and maven-dep-tree.jar are kept up-to-date with the version specified in buildscripts/download-jars.js. | |
# It accomplishes this by downloading the JARs and executing a "git diff" command. | |
# In case there are any differences detected, the test will result in failure. | |
name: Embedded Jars Tests | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
GOPROXY: direct | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download JARs | |
run: buildscripts/download-jars.sh | |
- name: Check Diff | |
run: git diff --exit-code | |
- name: Log if Failure | |
run: echo "::warning::Please run ./buildscripts/download-jars to use compatible Maven and Gradle dependency tree JARs." | |
if: ${{ failure() }} | |