mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
test: Add CFF Validation
The CITATION.cff is validated with the official GitHub Action.
This commit is contained in:
parent
ee8231c69f
commit
b8021a2a71
1 changed files with 13 additions and 1 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue