Bump actions/checkout from 3 to 4 #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request_target] | |
name: Vulnerability Check | |
jobs: | |
Security: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19.x | |
- 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: "`go env GOPATH`/bin/govulncheck ./..." |