Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 20, 2023
1 parent 2b78d2e commit 24c5422
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r tools/requirements.txt
- name: Run Python script to check for Latin phrases - Master
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
Expand All @@ -59,16 +53,11 @@ jobs:
validate_cff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/checkout@v3
- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/[email protected]
with:
python-version: 3
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip3 install cffconvert
- name: Validate CITATION.cff
run: make validate_citation_cff
args: --validate


markdown-link-check:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ mkdocs-material>=5.4
pre-commit
black
flake8
cffconvert

0 comments on commit 24c5422

Please sign in to comment.