update readme
All checks were successful
GoSec Scan / Gosec Check (push) Successful in 51s

This commit is contained in:
Shane C 2024-09-11 19:13:30 -04:00
parent 0a69642bd6
commit d26acf9ee0
Signed by: shanec
GPG key ID: E46B5FEA35B22FF9
2 changed files with 29 additions and 2 deletions

View file

@ -1,5 +1,7 @@
name: Gosec Check
name: GoSec Scan
on:
schedule:
- cron: "@daily"
push:
branches: ["main"]
workflow_dispatch:

View file

@ -1,3 +1,28 @@
# goscan
Gosec with some stuff with actions.
Gosec with some stuff with actions.
## Workflow example
```yaml
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
```