From e3e3ef528e71f032a3d90535c283c601a33b1d14 Mon Sep 17 00:00:00 2001 From: Mikayla Date: Wed, 17 Jan 2024 15:28:25 -0800 Subject: [PATCH] Add typos ci --- .github/actions/check_style/action.yml | 3 +++ .github/workflows/ci.yml | 3 +-- crates/gpui/src/gpui.rs | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/check_style/action.yml b/.github/actions/check_style/action.yml index 25020e4e4c5399026c1ab32622903a3779ba86b2..290496d7e7866490286fafeb31d867b73c20ab80 100644 --- a/.github/actions/check_style/action.yml +++ b/.github/actions/check_style/action.yml @@ -21,3 +21,6 @@ runs: run: | export SQUAWK_GITHUB_TOKEN=${{ github.token }} . ./script/squawk + + - name: Run spelling check + uses: crate-ci/typos@master diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 476f263997d5caa7fb0f3cb576397b618347e82f..7b9ca8de8e015de0161a1be1c8fddb1f3fa9d825 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ env: jobs: style: - name: Check formatting and Clippy lints + name: Check formatting, Clippy lints, and spelling runs-on: - self-hosted - test @@ -40,7 +40,6 @@ jobs: - name: Run style checks uses: ./.github/actions/check_style - tests: name: Run tests runs-on: diff --git a/crates/gpui/src/gpui.rs b/crates/gpui/src/gpui.rs index 6f5e30149d9691b3c364d62ab2e3ce6ec7da1b4c..1c7e7432889b2a20ba2c3bfaf850581c8c323a5c 100644 --- a/crates/gpui/src/gpui.rs +++ b/crates/gpui/src/gpui.rs @@ -88,6 +88,7 @@ use std::{ }; use taffy::TaffyLayoutEngine; +/// Here's a spelling mistake: visibile pub trait Context { type Result;