From ffa573f2d4873da2790d893993b6d5526d2027d3 Mon Sep 17 00:00:00 2001 From: Christian Tacke <58549698+ChristianTackeGSI@users.noreply.github.com> Date: Thu, 3 Aug 2023 14:38:30 +0200 Subject: [PATCH] ci: Check codemeta.json Use the eOSSR tooling to validate our codemeta.json file --- .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 00000000..46a7b0c0 --- /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