Skip to content

chore: add fuzz tests and daily fuzz workflow #521

chore: add fuzz tests and daily fuzz workflow

chore: add fuzz tests and daily fuzz workflow #521

Workflow file for this run

name: Scan CVEs - Gosec
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup golang
uses: ./.github/actions/golang
- name: Install gosec
run: |
go install github.com/securego/gosec/v2/cmd/[email protected]
- name: Run Gosec Security Scanner
run: |
gosec -stdout -fmt sarif -out results.sarif ./...
- name: Upload artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
with:
sarif_file: results.sarif