diff --git a/.github/workflows/_check_code.yaml b/.github/workflows/_check_code.yaml index 765a6a8..bc903bb 100644 --- a/.github/workflows/_check_code.yaml +++ b/.github/workflows/_check_code.yaml @@ -17,6 +17,15 @@ jobs: - name: Run actionlint uses: rhysd/actionlint@v1.7.9 + spell_check: + name: Spell check + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v6 + - name: Check spelling with typos + uses: crate-ci/typos@v1.40.0 + lint_check: name: Lint check uses: apify/workflows/.github/workflows/python_lint_check.yaml@main diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 95a54e5..3c378e7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,7 +77,7 @@ make unit-tests-cov Publishing new versions to [PyPI](https://pypi.org/project/apify) is automated through GitHub Actions. - **Beta releases**: On each commit to the master branch, a new beta release is automatically published. The version number is determined based on the latest release and conventional commits. The beta version suffix is incremented by 1 from the last beta release on PyPI. -- **Stable releases**: A stable version release may be created by triggering the `release` GitHub Actions workflow. The version number is determined based on the latest release and conventional commits (`auto` release type), or it may be overriden using the `custom` release type. +- **Stable releases**: A stable version release may be created by triggering the `release` GitHub Actions workflow. The version number is determined based on the latest release and conventional commits (`auto` release type), or it may be overridden using the `custom` release type. ### Publishing to PyPI manually diff --git a/typos.toml b/typos.toml new file mode 100644 index 0000000..a4669cf --- /dev/null +++ b/typos.toml @@ -0,0 +1,17 @@ +# Configuration for typos spell checker +# https://github.com/crate-ci/typos + +[default] +extend-ignore-re = [ + "https?://[^\\s]+", # Ignore URLs + "'gASV[^']+", # Ignore base64-encoded pickle data +] + +[files] +# Extend the default exclude list +extend-exclude = [ + "*.lock", + "*.min.js", + "*.min.css", + "CHANGELOG.md", +]