Skip to content

Commit

Permalink
use gosec v2.21.2
Browse files Browse the repository at this point in the history
Signed-off-by: peng9808 <[email protected]>
  • Loading branch information
peng9808 committed Sep 13, 2024
1 parent d6c7a1d commit 0e88661
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/period-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
fetch-depth: 0
- name: Run gosec security scan
run: |
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s latest
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.21.2
export PATH=$PATH:$(pwd)/bin
gosec -severity high -confidence high ./... || exit 1
- name: e2e test
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
fetch-depth: 0
- name: Run gosec security scan
run: |
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s latest
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.21.2
export PATH=$PATH:$(pwd)/bin
gosec -severity high -confidence high ./... || exit 1
- name: pr test
env:
Expand Down

0 comments on commit 0e88661

Please sign in to comment.