Skip to content

Fix: Gitignore

Fix: Gitignore #17

Workflow file for this run

name: Security Audit
on:
pull_request:
branches:
- main
types:
- edited
- opened
- synchronize
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23
- name: Install gosec
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
- name: Run gosec
run: |
gosec ./...
if [ $? -ne 0 ]; then
echo "Security audit failed"
exit 1
fi
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck
run: |
govulncheck ./...
if [ $? -ne 0 ]; then
echo "Vulnerability check failed"
exit 1
fi