try a different path
@@ -19,8 +19,11 @@ jobs:
# run: |
# pwd
# ls -a
+ - name: Get Gosec
+ # working-directory: ./src/github.com/${{ github.repository }}
+ run: curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sudo sh -s -- -b /usr/bin latest
- name: Run Gosec Security Scanner
- uses: securego/gosec@master
- with:
- # entrypoint: gosec -version
- args: -exclude-dir=cmd/kuberhealthy
\ No newline at end of file
+ run: gosec -exclude=G107 ./...
+ # uses: securego/gosec@master
+ # with:
+ # args: ./...
\ No newline at end of file
