Skip to content

Commit

Permalink
install gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
sushrk committed Apr 2, 2024
1 parent 4b42cbb commit 358dc0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go Version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache-dependency-path: "**/go.sum"
- name Install `gosec`
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
Expand Down

0 comments on commit 358dc0b

Please sign in to comment.