From 24c5422ce7c6c60acfbaa8c55195e0c788cdf242 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Tue, 19 Sep 2023 23:00:14 -0400 Subject: [PATCH] fix ci --- .github/workflows/validation.yml | 19 ++++--------------- requirements.txt | 1 + 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index ff32a47..0300d36 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -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: | @@ -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/cffconvert-github-action@2.0.0 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: diff --git a/requirements.txt b/requirements.txt index 2428601..84cfc7e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ mkdocs-material>=5.4 pre-commit black flake8 +cffconvert