.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
Mikayla created
.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(-)
@@ -21,3 +21,6 @@ runs:
run: |
export SQUAWK_GITHUB_TOKEN=${{ github.token }}
. ./script/squawk
+
+ - name: Run spelling check
+ uses: crate-ci/typos@master
@@ -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:
@@ -88,6 +88,7 @@ use std::{
};
use taffy::TaffyLayoutEngine;
+/// Here's a spelling mistake: visibile
pub trait Context {
type Result<T>;