Add env var SMING_TOOLCHAINS to allow easier change of toolchains ins… #686
Workflow file for this run
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: Spelling Check | |
on: | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
code-spell: | |
name: Check spelling | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: false | |
- name: Get submodules | |
run: | | |
SMING_ARCH=Host make -C Sming submodules | |
echo "[codespell]" > .codespellrc | |
echo "skip = $(tr "\n" , < Tools/spelling/skip.txt)" >> .codespellrc | |
- name: Run codespell | |
uses: codespell-project/actions-codespell@master | |
with: | |
skip: "" # Use resource script entry | |
ignore_words_file: "Tools/spelling/ignore.txt" | |
check_filenames: true | |
only_warn: 1 |