From bfd512aa161c0b807103e3736e8b69fda76849c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Luka=C5=A1=C3=ADk?= Date: Sun, 28 Nov 2021 20:21:56 +0100 Subject: [PATCH] Add SCAP DataStream XSDs to CI --- .github/workflows/scap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/scap.sh b/.github/workflows/scap.sh index bed6c06..908a983 100755 --- a/.github/workflows/scap.sh +++ b/.github/workflows/scap.sh @@ -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 ./...