2024-09-05 16:30:50 +01:00
|
|
|
# goscan
|
|
|
|
|
2024-09-12 00:13:30 +01:00
|
|
|
Gosec with some stuff with actions.
|
|
|
|
|
|
|
|
## Workflow example
|
|
|
|
```yaml
|
|
|
|
name: GoSec Scan
|
|
|
|
on:
|
|
|
|
schedule:
|
2024-09-13 21:56:18 +01:00
|
|
|
- cron: "@weekly"
|
2024-09-12 00:13:30 +01:00
|
|
|
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
|
|
|
|
```
|