Skip to content

Commit

Permalink
ci: Check spelling separately from formatting (#19385)
Browse files Browse the repository at this point in the history
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
maxdeviant authored Oct 17, 2024
1 parent 411f64b commit 9d61cd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/actions/check_style/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d61cd5

Please sign in to comment.