From a6fb32fd937d1a1e80956e01f27fc4de85b64d7e Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 17 Oct 2024 13:47:23 -0400 Subject: [PATCH] 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 --- .github/actions/check_style/action.yml | 5 ----- .github/workflows/ci.yml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/check_style/action.yml b/.github/actions/check_style/action.yml index 9bddee44ef5218..f8362bc636f938 100644 --- a/.github/actions/check_style/action.yml +++ b/.github/actions/check_style/action.yml @@ -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/typos@v1.24.6 - with: - config: ./typos.toml - - name: cargo fmt shell: bash -euxo pipefail {0} run: cargo fmt --all -- --check diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adf0cfa30f5fd7..64739b6513304c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,6 +82,11 @@ jobs: - name: Run style checks uses: ./.github/actions/check_style + - name: Check for typos + uses: crate-ci/typos@v1.24.6 + with: + config: ./typos.toml + macos_tests: timeout-minutes: 60 name: (macOS) Run Clippy and tests