From a7c4f9eb9d904c3004e0ba87268ccb38ac02e1d9 Mon Sep 17 00:00:00 2001 From: Dmytro Kresan Date: Mon, 14 Aug 2023 11:29:20 +0200 Subject: [PATCH] Add codemeta validation. --- .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 000000000..46a7b0c00 --- /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