Skip to content

Commit

Permalink
Update osv-scanner.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer authored Jun 22, 2024
1 parent 49f9259 commit c7f58ed
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
name: Run OSV Scanner

on: [workflow_dispatch]
on:
workflow_dispatch:
schedule:
- cron: "30 12 * * 1"

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
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@v4
with:
go-version: '>=1.21.6'
- 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 }}'
scan:
uses: "google/osv-scanner-action/.github/workflows/[email protected]"
with:
scan-args: |-
--recursive
--skip-git=true
./

0 comments on commit c7f58ed

Please sign in to comment.