Gosec with some stuff with actions.
.forgejo/workflows | ||
cmd | ||
.actrc | ||
.gitignore | ||
action.yml | ||
build.sh | ||
Dockerfile | ||
entrypoint.sh | ||
example.sarif | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
goscan
Gosec with some stuff with actions.
Workflow example
name: GoSec Scan
on:
schedule:
- cron: "@daily"
push:
branches: ["main"]
workflow_dispatch:
jobs:
gosec:
name: Gosec Check
runs-on: node20-bookworm
steps:
- name: Checkout
uses: https://git.shadowhosting.xyz/actions/checkout@v4
- uses: https://git.shadowhosting.xyz/actions/setup-go@v5
with:
go-version: '1.22'
- run: go mod download
- name: Run Gosec Security Scanner
uses: https://git.shadowhosting.xyz/actions/goscan@main