Skip to content

Commit

Permalink
Check spelling first and links last
Browse files Browse the repository at this point in the history
This allows to start fixing spelling while the long-lasting link checks are done.
  • Loading branch information
MichaIng committed Oct 24, 2020
1 parent 3a6b63f commit e319755
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
with:
files: "*.md **/*.md"
- name: Set up Python 3.7
id: python_setup
id: python
if: always() && steps.clone.outcome == 'success'
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install Python dependencies
id: python_deps
if: always() && steps.python_setup.outcome == 'success'
if: always() && steps.python.outcome == 'success'
run: |
python3 -m pip install -U pip wheel setuptools
pip3 install -r requirements.txt
Expand All @@ -34,13 +34,13 @@ jobs:
id: build
if: always() && steps.mkdocs_config.outcome == 'success'
run: mkdocs build -sd build/docs
- name: Check links in HTML and Markdown files
if: always() && steps.build.outcome == 'success'
run: |
GO111MODULE=on go get -u github.com/raviqqe/liche
$(go env GOPATH)/bin/liche -v -x 'https://github.com' -d build -r README.md build/docs
- name: Check spelling in HTML files
if: always() && steps.build.outcome == 'success'
# .spellcheck.yml: https://github.com/marketplace/actions/github-spellcheck-action#spellcheck-configuration-file
# .wordlist.txt
uses: rojopolis/spellcheck-github-actions@0.5.0
- name: Check links in HTML and Markdown files
if: always() && steps.build.outcome == 'success'
run: |
GO111MODULE=on go get -u github.com/raviqqe/liche
$(go env GOPATH)/bin/liche -v -x 'https://github.com' -d build -r README.md build/docs

0 comments on commit e319755

Please sign in to comment.