Skip to content

Commit

Permalink
Merge pull request #40 from isimluk/add-datastream-xsd-to-ci
Browse files Browse the repository at this point in the history
Add SCAP DataStream XSDs to CI
  • Loading branch information
isimluk authored Nov 28, 2021
2 parents 0dd9bbe + bfd512a commit f8ea01a
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 f8ea01a

Please sign in to comment.