From 42f82f40f21b8b28ddba6c74ce82275eea29f985 Mon Sep 17 00:00:00 2001 From: Ahmet Nihat Simsek Date: Tue, 20 Feb 2024 14:20:38 +0100 Subject: [PATCH] Test citation file if changes --- .github/workflows/validate-citation.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/validate-citation.yml diff --git a/.github/workflows/validate-citation.yml b/.github/workflows/validate-citation.yml new file mode 100644 index 000000000..9f7293d9c --- /dev/null +++ b/.github/workflows/validate-citation.yml @@ -0,0 +1,23 @@ +name: '[test] validate citation file' + +on: + push: + paths: + - 'CITATION.cff' + +jobs: + check_maps_precompmesh: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install cffconvert + run: | + pip install -U pip + pip install cffconvert + + - name: Validate CITATION.cff + run: cffconvert --validate -i ./CITATION.cff