Skip to content

Merge pull request #75 from sunhailin-Leo/dependabot/go_modules/googl… #171

Merge pull request #75 from sunhailin-Leo/dependabot/go_modules/googl…

Merge pull request #75 from sunhailin-Leo/dependabot/go_modules/googl… #171

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.21.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 ./..."