Skip to content

OSV-Scanner

OSV-Scanner #83

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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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 .'