Skip to content

Security

Security #151

Workflow file for this run

name: Security
on:
push:
tags-ignore:
- "**"
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0' # Run at 00:00 on Sunday UTC time
permissions:
contents: read
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
check-latest: true
- name: Run gosec
uses: securego/gosec@master
- name: Run govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: '1.21.x'
go-package: ./...