Skip to content

improvment: add Gosec Security Scanner to CI workflow #317

improvment: add Gosec Security Scanner to CI workflow

improvment: add Gosec Security Scanner to CI workflow #317

Workflow file for this run

on:
pull_request:
push:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.20"
check-latest: true
- name: Install gosec
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
- name: Install static check
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
if: always()