install CI dependencies once

This commit is contained in:
Walavouchey
2022-06-04 21:42:33 +02:00
parent 4c4b601a04
commit 833205da6b

View File

@@ -58,12 +58,15 @@ jobs:
with:
python-version: "3.x"
- name: set up and run yamllint on .yaml and .md files
- name: set up CI dependencies
run: |
pip install -r scripts/requirements.txt
- name: run yamllint on .yaml and .md files
run: |
python scripts/ci/run_yamllint.py --config .yamllint.yaml
- name: set up and run broken wikilink checker
- name: find broken wikilinks
shell: bash
env:
PULL_REQUEST_TAG: 'SKIP_WIKILINK_CHECK'
@@ -73,8 +76,6 @@ jobs:
exit 0
fi
pip install osu-wiki-tools
ARTICLES=$( git diff --diff-filter=d --name-only ${{ github.sha }}^ ${{ github.sha }} "wiki/**/*.md" "news/*.md" )
find-broken-wikilinks --target $ARTICLES