Skip to content

Merge pull request #32 from 0xPolygon/mardizzone/POS-2693 #148

Merge pull request #32 from 0xPolygon/mardizzone/POS-2693

Merge pull request #32 from 0xPolygon/mardizzone/POS-2693 #148

Workflow file for this run

# TODO HV2: remove GIT_TERMINAL_PROMPT, GOPRIVATE and GH_PAT_TOKEN vars once heimdall-v2 is a public repo
name: Govuln
on: [ push, pull_request ]
jobs:
govuln:
name: Run govuln check and Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Running govulncheck
uses: Templum/govulncheck-action@v1.0.1
continue-on-error: true
env:
DEBUG: "true"
GIT_TERMINAL_PROMPT: 1
GOPRIVATE: github.com/0xPolygon/heimdall-v2
GH_PAT_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
with:
go-version: 1.23.2
package: ./...
github-token: ${{ secrets.GITHUB_TOKEN }}
fail-on-vuln: true
- name: Upload govulncheck report
uses: actions/upload-artifact@v3
with:
name: raw-report
path: raw-report.json