Merge pull request #13 from cpp-lln-lab/dependabot/github_actions/act… #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: validate CITATION.cff | |
on: | |
push: | |
branches: ['*'] | |
paths: | |
- CITATION.cff | |
- .github/workflows/validate_cff.yml | |
pull_request: | |
branches: ['*'] | |
paths: | |
- CITATION.cff | |
- .github/workflows/validate_cff.yml | |
jobs: | |
validate_cff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip3 install cffconvert | |
- name: Validate CITATION.cff | |
run: cffconvert --validate |