Fix actions and README #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
name: build tutorial | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: set up Python | |
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0 | |
with: | |
python-version: 3.8 | |
- name: Codespell action | |
uses: codespell-project/actions-codespell@22ff5a2e4b591290baf82d47c9feadac31c65441 # v1.0 | |
with: | |
check_filenames: true | |
ignore_words_list: nd | |
path: docs/ | |
#- name: Markdown Linting Action | |
# uses: avto-dev/[email protected] | |
# with: | |
# rules: '/lint/rules/changelog.js' | |
# config: '/lint/config/changelog.yml' | |
# args: '.' | |
- name: install mkdocs | |
run: | | |
pip install mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin | |
mkdocs --version | |
- name: build tutorial | |
run: mkdocs build --strict |