Skip to content

OSV-Scanner

OSV-Scanner #108

Workflow file for this run

---
name: "OSV Scanner"
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
permissions: {}
jobs:
check:
name: Check with OSV Scanner
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: 'stable'
check-latest: true
- name: Install OSV Scanner
run: go install github.com/google/osv-scanner/cmd/osv-scanner@v1
- name: OSV Scanner
run: 'PATH="${PATH}:$(go env GOPATH)/bin" osv-scanner -r .'