Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/build-and-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
with:
go-version-file: ${{ inputs.go-version-file }}
check-latest: true
cache: false

- name: Lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
Expand All @@ -95,10 +96,13 @@ jobs:
run: make format-check
working-directory: ${{ needs.configure-ci.outputs.working-dir }}

- name: Install gosec
run: go install github.com/securego/gosec/v2/cmd/gosec@v2.26.1

- name: Gosec Security Scanner
uses: securego/gosec@4a3bd8af174872c778439083ded7adbf3747e770 # v2.26.1
with:
args: '-severity high -exclude-dir=testdata -exclude=*_test.go ${{ needs.configure-ci.outputs.working-dir }}/...'
working-directory: ${{ needs.configure-ci.outputs.working-dir }}
run: |
"$(go env GOPATH)/bin/gosec" -severity high -exclude-dir=testdata -exclude=*_test.go ./...

- name: Vulnerability Scan
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
Expand Down
5 changes: 1 addition & 4 deletions test/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
module github.com/open-cmsis-pack/sample

go 1.21
require (
github.com/stretchr/testify v1.9.4
)
go 1.26.3
Loading