24 lines
No EOL
455 B
Markdown
24 lines
No EOL
455 B
Markdown
# goscan
|
|
|
|
Gosec with some stuff with actions.
|
|
|
|
## Workflow example
|
|
```yaml
|
|
name: GoSec Scan
|
|
on:
|
|
schedule:
|
|
- cron: "@weekly"
|
|
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
|
|
- name: Run Gosec Security Scanner
|
|
uses: https://git.shadowhosting.xyz/actions/goscan@main
|
|
``` |