This repository has been archived by the owner on Oct 18, 2023. It is now read-only.
Deprecated #198
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: Security CI | |
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/[email protected] | |
continue-on-error: true | |
env: | |
DEBUG: "true" | |
with: | |
go-version: 1.18 | |
vulncheck-version: latest | |
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 |