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