From b8021a2a710b5840633c31c07f7a61e480121eaf Mon Sep 17 00:00:00 2001 From: Kevin Matthes <92332892+kevinmatthes@users.noreply.github.com> Date: Thu, 9 Mar 2023 16:55:30 +0100 Subject: [PATCH] test: Add CFF Validation The CITATION.cff is validated with the official GitHub Action. --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63eec09e..5d88fb8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: permissions: contents: none name: CI - needs: [test, check, docs, rustfmt, clippy] + needs: [test, check, docs, rustfmt, clippy, cffconvert] runs-on: ubuntu-latest steps: - name: Done @@ -187,3 +187,15 @@ jobs: run: make clippy-full - name: Lint (release) run: make clippy-release + cffconvert: + name: cffconvert + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + persist-credentials: false + - name: CFF validation + uses: citation-file-format/cffconvert-github-action@2.0.0 + with: + args: --validate