Skip to content

Commit

Permalink
Make gosec work
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradStaniec committed Nov 20, 2024
1 parent ba5b366 commit 6cafc58
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run-lint: true
run-build: true
run-gosec: true
gosec-args: "-exclude-generated -exclude-dir=itest -exclude-dir=testutil ./..."
gosec-args: "-exclude-generated -exclude-dir=itest -exclude-dir=testutil -exclude-dir=covenant-signer ./..."

docker_pipeline:
uses: babylonlabs-io/.github/.github/workflows/[email protected]
Expand All @@ -25,3 +25,23 @@ jobs:
publish: false
dockerfile: ./Dockerfile
repoName: covenant-emulator

go_sec_covenant_signer:
runs-on: ubuntu-24.04
env:
GO111MODULE: on
steps:
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '^1.23.x'
check-latest: true
cache: false
- name: Install Gosec
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
- name: Run Gosec (covenant-signer)
working-directory: ./covenant-signer
run: gosec ./...

0 comments on commit 6cafc58

Please sign in to comment.