-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Check spelling separately from formatting (#19385)
This PR moves the spelling check out of the `check_style` action, which we can leave for just checking formatting. We can't use the `crates-ci-typos` action as-is on the macOS runners due to the absence of `wget`. Release Notes: - N/A
- Loading branch information
1 parent
411f64b
commit 9d61cd5
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,6 @@ description: "Checks code formatting use cargo fmt" | |
runs: | ||
using: "composite" | ||
steps: | ||
- name: Check for Typos with Typos-CLI | ||
uses: crate-ci/[email protected] | ||
with: | ||
config: ./typos.toml | ||
|
||
- name: cargo fmt | ||
shell: bash -euxo pipefail {0} | ||
run: cargo fmt --all -- --check |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,6 +82,11 @@ jobs: | |
- name: Run style checks | ||
uses: ./.github/actions/check_style | ||
|
||
- name: Check for typos | ||
uses: crate-ci/[email protected] | ||
with: | ||
config: ./typos.toml | ||
|
||
macos_tests: | ||
timeout-minutes: 60 | ||
name: (macOS) Run Clippy and tests | ||
|