mirror of
https://github.com/SrIzan10/osu-wiki.git
synced 2026-05-01 10:55:16 +00:00
install CI dependencies once
This commit is contained in:
9
.github/workflows/continuous-integration.yml
vendored
9
.github/workflows/continuous-integration.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user