Skip to content

Commit 00f1ab9

Browse files
committed
Inspect source code for security issues
1 parent 4d5cf9c commit 00f1ab9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ jobs:
6161
run: |
6262
make format-check
6363
64+
gosec:
65+
runs-on: ubuntu-latest
66+
env:
67+
GO111MODULE: on
68+
69+
steps:
70+
- name: Checkout Source
71+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72+
73+
- name: Run Gosec Security Scanner
74+
uses: securego/gosec@e0cca6fe95306b7e7790d6f1bf6a7bec6d622459 # v2.22.0
75+
with:
76+
args: '-severity high -exclude-dir=test ./...'
77+
6478
vulnerability-check:
6579
name: "Vulnerability check"
6680
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)