Skip to content

Commit 3c0305c

Browse files
uploaded the security scan for golang github aciton
1 parent 26647a4 commit 3c0305c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/docs-and-linting.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,29 @@ jobs:
6060
with:
6161
name: oci-docs
6262
path: output
63+
64+
security-scan:
65+
runs-on: ubuntu-latest
66+
name: Security Vulnerability Scan
67+
steps:
68+
- uses: actions/checkout@v4
69+
70+
71+
- uses: actions/setup-go@v5
72+
with:
73+
go-version: stable
74+
cache-dependency-path: ./**/go.sum
75+
76+
77+
- name: Install govulncheck
78+
run: go install golang.org/x/vuln/cmd/govulncheck@latest
79+
80+
81+
- name: Run govulncheck on root module
82+
run: govulncheck ./...
83+
84+
85+
- name: Run govulncheck on schema module
86+
run: |
87+
cd schema
88+
govulncheck ./...

0 commit comments

Comments
 (0)