add goscan action (insert spiderman meme)
All checks were successful
Gosec Check / Gosec Check (push) Successful in 1m50s
All checks were successful
Gosec Check / Gosec Check (push) Successful in 1m50s
This commit is contained in:
parent
13e8182a8d
commit
1238666980
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/gosec.yml
Normal file
20
.forgejo/workflows/gosec.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Gosec Check
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
gosec:
|
||||||
|
name: Gosec Check
|
||||||
|
runs-on: node20-bookworm
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.21'
|
||||||
|
- run: go mod download && go install github.com/a-h/templ/cmd/templ@latest
|
||||||
|
- run: templ generate
|
||||||
|
- name: Run Gosec Security Scanner
|
||||||
|
uses: actions/goscan@main
|
Loading…
Reference in a new issue