test: Add CFF Validation

The CITATION.cff is validated with the official GitHub Action.
This commit is contained in:
Kevin Matthes 2023-03-09 16:55:30 +01:00 committed by GitHub
parent ee8231c69f
commit b8021a2a71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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