Run OSV Scanner #25
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: Run OSV Scanner | |
on: [workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Build Lucee without using a Maven cache | |
run: ant -noinput -buildfile loader/build.xml fast | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
- name: Install Google OSV Scanner | |
run: go install github.com/google/osv-scanner/cmd/osv-scanner@v1 | |
- name: Run OSV vulnerabilities Scanner | |
run: 'PATH="${PATH}:$(go env GOPATH)/bin" osv-scanner -r ${{ github.workspace }}' |