Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup typos #118

Merged
merged 4 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,20 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy

- name: Run examples
run: |
for example in $(ls ./examples/); do
cargo run --bin $example
done

typos:
name: Typos
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: typos-action
uses: crate-ci/[email protected]

6 changes: 5 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: fmt test-all clippy examples
all: fmt test-all clippy examples typos

test-all:
cargo test
Expand Down Expand Up @@ -28,3 +28,7 @@ clippy:

examples:
for example in `ls examples`; do cargo run --bin $example; done

typos:
which typos >/dev/null || cargo install typos-cli
typos
Loading