From 5ecfb946e06e364642d0511ea2aca59016c03fda Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Wed, 31 Jul 2024 11:21:20 +0200 Subject: [PATCH] Add check that catalog can be represented in correct CSV file Signed-off-by: Erik Jaegervall --- .github/workflows/buildcheck.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/buildcheck.yml b/.github/workflows/buildcheck.yml index a84e9523..384a1cba 100644 --- a/.github/workflows/buildcheck.yml +++ b/.github/workflows/buildcheck.yml @@ -36,6 +36,19 @@ jobs: run: | idlc vss_rel_*.idl + + - name: Prepare for CSV check + uses: actions/setup-go@v5 + with: + go-version: 'stable' + cache: false + + - name: Test that CSV generated by vss-tools is correct + run: | + # Install csvlint to check compliance with https://datatracker.ietf.org/doc/html/rfc4180 + go install github.com/Clever/csvlint/cmd/csvlint@latest + csvlint vss_rel_*.csv + - name: Test optional targets. NOTE - always succeeds run: | make -k optional_targets || true