22 lines
433 B
YAML
22 lines
433 B
YAML
|
on: [pull_request]
|
||
|
|
||
|
jobs:
|
||
|
vulncheck:
|
||
|
name: Vulncheck
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Setup Go
|
||
|
uses: actions/setup-go@v3
|
||
|
with:
|
||
|
go-version: '1.23'
|
||
|
|
||
|
- name: Install govulncheck
|
||
|
run: go install golang.org/x/vuln/cmd/govulncheck@latest
|
||
|
|
||
|
- name: Run govulncheck
|
||
|
run: govulncheck ./...
|