Skip to content

Commit

Permalink
Add SCAP DataStream XSDs to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
isimluk committed Nov 28, 2021
1 parent 0dd9bbe commit bfd512a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/scap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ pushd $workdir
--xmlns-override=http://cpe.mitre.org/language/2.0=cpe_language \
.scap_schemas/schemas/xccdf/1.2/xccdf_1.2.xsd github.com/gocomply/scap pkg/scap/models
$xsd2go convert .scap_schemas/schemas/oval/5.11.3/oval-results-schema.xsd github.com/gocomply/scap pkg/scap/models
$xsd2go convert \
--xmlns-override=http://cpe.mitre.org/language/2.0=cpe_language \
.scap_schemas/schemas/sds/1.3/scap-source-data-stream_1.3.xsd github.com/gocomply/scap pkg/scap/models

# Ensure the code can be compiled
go vet ./...
Expand Down

0 comments on commit bfd512a

Please # to comment.