Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add typos ci

Mikaylae3e3ef528e71
diff --git a/.github/actions/check_style/action.yml b/.github/actions/check_style/action.yml
index 25020e4e4c5..290496d7e78 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 476f263997d..7b9ca8de8e0 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 6f5e30149d9..1c7e7432889 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<T>;