Skip to content

Commit

Permalink
feat: add gosec scan workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin Wang committed Aug 31, 2023
1 parent a301e09 commit 5c35b34
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,17 @@ jobs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GIT_TOKEN }}
branch: main
branch: main

gosec:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...

0 comments on commit 5c35b34

Please sign in to comment.