provide tab ordering for JA translation #538
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
name: CI pipeline | |
# checks are on all directories | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
# for security reasons the github actions are pinned to specific release versions | |
jobs: | |
link_checker: | |
name: Link checker | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout markdown | |
uses: actions/checkout@v4.2.0 | |
- name: Link Checker | |
uses: lycheeverse/lychee-action@v2.2.0 | |
with: | |
# skip the jekyll files under '_includes' directory | |
args: >- | |
--no-progress | |
--max-retries 5 | |
--exclude-path './_includes/*.html' | |
'./**/*.md' | |
'*.md' | |
fail: true | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
md_linter: | |
name: Lint markdown | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout markdown | |
uses: actions/checkout@v4.2.0 | |
- name: Lint markdown | |
uses: DavidAnson/markdownlint-cli2-action@v19.0.0 | |
with: | |
config: '.markdownlint.yaml' | |
globs: '**/*.md' | |
spell_checker: | |
name: Check spelling | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout markdown | |
uses: actions/checkout@v4.2.0 | |
- name: Spell check EN draft | |
uses: rojopolis/spellcheck-github-actions@0.46.0 | |
with: | |
config_path: .spellcheck-en.yaml | |
# checks the draft directory with an EN dictionary | |
check_es: | |
name: Check ES translation | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout markdown | |
uses: actions/checkout@v4.2.0 | |
- name: Spell check ES release | |
uses: rojopolis/spellcheck-github-actions@0.46.0 | |
with: | |
config_path: .spellcheck-es.yaml | |
# checks the release-es directory with an ES dictionary | |
- name: Lint ES markdown | |
uses: DavidAnson/markdownlint-cli2-action@v19.0.0 | |
with: | |
config: '.markdownlint.yaml' | |
globs: 'release-es/**/*.md' | |
check_pt-br: | |
name: Check PT-BR translation | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout markdown | |
uses: actions/checkout@v4.2.0 | |
- name: Set up Python | |
uses: actions/setup-python@v5.3.0 | |
with: | |
python-version: '3.10' | |
- name: Install pyspelling | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install pyspelling | |
sudo apt-get install aspell aspell-pt | |
- name: Spell check PT-BR release | |
run: | | |
python -m pyspelling --config .spellcheck-pt-br.yaml | |
- name: Lint PT-BR markdown | |
uses: DavidAnson/markdownlint-cli2-action@v19.0.0 | |
with: | |
config: '.markdownlint.yaml' | |
globs: 'release-pt-br/**/*.md' |