2024-09-12 00:13:30 +01:00
|
|
|
name: GoSec Scan
|
2024-09-06 15:31:37 +01:00
|
|
|
on:
|
2024-09-12 00:13:30 +01:00
|
|
|
schedule:
|
|
|
|
- cron: "@daily"
|
2024-09-06 15:31:37 +01:00
|
|
|
push:
|
|
|
|
branches: ["main"]
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
gosec:
|
|
|
|
name: Gosec Check
|
|
|
|
runs-on: node20-bookworm
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-09-08 19:50:03 +01:00
|
|
|
uses: https://git.shadowhosting.xyz/actions/checkout@v4
|
|
|
|
- uses: https://git.shadowhosting.xyz/actions/setup-go@v5
|
2024-09-06 15:31:37 +01:00
|
|
|
with:
|
2024-09-07 02:25:47 +01:00
|
|
|
go-version: '1.22'
|
|
|
|
- run: go mod download
|
2024-09-06 15:31:37 +01:00
|
|
|
- name: Run Gosec Security Scanner
|
2024-09-08 19:50:03 +01:00
|
|
|
uses: https://git.shadowhosting.xyz/actions/goscan@main
|