Skip to content

update vulncheck.yml #229

update vulncheck.yml

update vulncheck.yml #229

Workflow file for this run

name: Vulnerability Check
on:
push:
branches:
- main
paths:
- '**'
- '!**.md'
pull_request:
paths:
- '**'
- '!**.md'
jobs:
Security:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
check-latest: true
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Govulncheck
run: |
export GO111MODULE=on
export PATH=${PATH}:`go env GOPATH`/bin
go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run Govulncheck
run: "cd test && `go env GOPATH`/bin/govulncheck ./..."