build: run spellcheck on build

This commit is contained in:
zhom
2025-06-16 03:41:38 +04:00
parent 04c690c750
commit 54abb11129
4 changed files with 37 additions and 0 deletions
+5
View File
@@ -42,6 +42,11 @@ jobs:
uses: ./.github/workflows/codeql.yml
secrets: inherit
spellcheck:
name: Spell Check
uses: ./.github/workflows/spellcheck.yml
secrets: inherit
release:
needs: [security-scan, lint-js, lint-rust]
permissions:
+5
View File
@@ -41,6 +41,11 @@ jobs:
uses: ./.github/workflows/codeql.yml
secrets: inherit
spellcheck:
name: Spell Check
uses: ./.github/workflows/spellcheck.yml
secrets: inherit
rolling-release:
needs: [security-scan, lint-js, lint-rust]
permissions:
+26
View File
@@ -0,0 +1,26 @@
name: Spell Check
permissions:
contents: read
on:
workflow_call:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CLICOLOR: 1
jobs:
spelling:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Spell Check Repo
uses: crate-ci/typos@v1.33.1
+1
View File
@@ -10,6 +10,7 @@
"cdylib",
"CFURL",
"checkin",
"CLICOLOR",
"clippy",
"cmdk",
"codegen",