Skip to content

Merge pull request #28 from Remi-Gau/dependabot/github_actions/action… #13

Merge pull request #28 from Remi-Gau/dependabot/github_actions/action…

Merge pull request #28 from Remi-Gau/dependabot/github_actions/action… #13

Workflow file for this run

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