Merge branch 'develop' into shivam/POS-2367 #270
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: 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.0 | |
continue-on-error: true | |
env: | |
DEBUG: "true" | |
with: | |
go-version: 1.21 | |
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 |