Skip to content

Commit 6c34d66

Browse files
authored
Add preprocess check to validate, and split into separate jobs. (#771)
Signed-off-by: Caleb Brown <[email protected]>
1 parent bcdd974 commit 6c34d66

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/validate-osv.yml

+16
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,23 @@ jobs:
1919
- name: Validate
2020
run: make validate
2121

22+
check-preprocess:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
27+
with:
28+
go-version-file: 'go.mod'
29+
- name: Check Preprocess
30+
run: make preprocess
2231

32+
check-schema:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
37+
with:
38+
go-version-file: 'go.mod'
2339
- name: Checkout ossf/osv-schema
2440
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2541
with:

0 commit comments

Comments
 (0)