2024-11-15 11:27:04 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2023-06-06 15:00:31 +00:00
|
|
|
|
|
|
|
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:
|
2024-08-21 09:47:18 +00:00
|
|
|
go-version: '1.23'
|
2023-06-06 15:00:31 +00:00
|
|
|
|
|
|
|
- name: Install govulncheck
|
|
|
|
run: go install golang.org/x/vuln/cmd/govulncheck@latest
|
|
|
|
|
|
|
|
- name: Run govulncheck
|
|
|
|
run: govulncheck ./...
|