Merge pull request #3213 from gofiber/dependabot/github_actions/codec… #2283
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
name: Run govulncheck | |
on: | |
push: | |
branches: | |
- master | |
- main | |
paths-ignore: | |
- "**/*.md" | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
jobs: | |
govulncheck-check: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "stable" | |
check-latest: true | |
cache: false | |
- name: Install Govulncheck | |
run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
- name: Run Govulncheck | |
run: govulncheck ./... |