Skip to content

Merge pull request #81 from LeKovr/dependabot/go_modules/google.golan… #18

Merge pull request #81 from LeKovr/dependabot/go_modules/google.golan…

Merge pull request #81 from LeKovr/dependabot/go_modules/google.golan… #18

Workflow file for this run

# Run tests on every push for extra branches
name: GoSec
on:
push:
branches-ignore:
- 'dependabot/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
# we let the report trigger content trigger a failure using the GitHub Security features.
args: '-no-fail -fmt sarif -out results.sarif ./...'
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif
category: my-gosec-tool