Skip to content

Commit

Permalink
fix: Fix malformed gosec yaml (#306)
Browse files Browse the repository at this point in the history
* run make instead of using image

* only install gosec at specific version
  • Loading branch information
BinaryFissionGames authored Mar 22, 2022
1 parent 771dc6e commit f7c9ebc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Run Gosec Security Scanner
uses: securego/[email protected]
with:
args: '-exclude-dir receiver/varnishreceiver ./...'
- name: Run Gosec Security Scanner on varnishreciver
working-directory: ./receiver/varnishreceiver
uses: securego/[email protected]
- name: Setup Go
uses: actions/setup-go@v2
with:
args: './...'
go-version: "1.17"
check-latest: true
- name: Install Goec
run: go install github.com/securego/gosec/v2/cmd/[email protected]
- name: Run Gosec Security Scanner
run: make gosec

0 comments on commit f7c9ebc

Please sign in to comment.