From 4070eefa4916478bcd2121feb42aad8a36edb9cd Mon Sep 17 00:00:00 2001 From: Mikayla Date: Wed, 17 Jan 2024 16:55:54 -0800 Subject: [PATCH] Use cargo to install typo check --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b9ca8de8e..bf19e1c53a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,8 +38,16 @@ jobs: - name: Set up default .cargo/config.toml run: cp ./.cargo/ci-config.toml ~/.cargo/config.toml + - name: Check spelling + run: | + if ! command -v typos > /dev/null; then + cargo install typos-cli + fi + typos + - name: Run style checks uses: ./.github/actions/check_style + tests: name: Run tests runs-on: