From acba5a384d3fe71b0a19943ebc5b5270582635ff Mon Sep 17 00:00:00 2001 From: Christian Tacke <58549698+ChristianTackeGSI@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:50:33 +0200 Subject: [PATCH] ci: Check codemeta.json Use the eOSSR tooling to validate our codemeta.json file (cherry picked from commit cb546ac12662295823f0e4086629ecd2b4945f7b) --- .github/workflows/codemeta_validate.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/codemeta_validate.yaml diff --git a/.github/workflows/codemeta_validate.yaml b/.github/workflows/codemeta_validate.yaml new file mode 100644 index 0000000000..46a7b0c00f --- /dev/null +++ b/.github/workflows/codemeta_validate.yaml @@ -0,0 +1,21 @@ +name: validate codemeta + +on: + push: + paths: + - codemeta.json + - .github/workflows/codemeta_validate.yaml + pull_request: + paths: + - codemeta.json + - .github/workflows/codemeta_validate.yaml + +jobs: + build: + runs-on: ubuntu-latest + container: + image: gitlab-registry.in2p3.fr/escape2020/wp3/eossr:v1.0 + steps: + - uses: actions/checkout@v3 + - name: validate codemeta + run: eossr-metadata-validator codemeta.json