Skip to content

OSV-Scanner

OSV-Scanner #79

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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
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 .'