Skip to content

Commit

Permalink
feat: introduce cve scanners
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere committed Jun 5, 2024
1 parent b1133d6 commit 572ebf6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cve-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go Source Scanners
on:
push:
branches:
- "master"
tags:
- "v*.*.*"
pull_request:
branches:
- "master"

jobs:
scanners:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Env
id: vars
shell: bash
run: |
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> "${GITHUB_ENV}"
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...

0 comments on commit 572ebf6

Please sign in to comment.