Skip to content

Commit

Permalink
ci: use winit ci setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov authored Sep 2, 2024
1 parent d9c2083 commit 7ec3bb9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,23 @@ jobs:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: taiki-e/checkout-action@v1
- uses: dtolnay/rust-toolchain@nightly
with:
rust-version: nightly
components: rustfmt
- uses: taiki-e/install-action@v2
with:
tool: typos-cli
- name: Check Formatting
run: cargo +nightly fmt --all -- --check
- name: Run Typos
run: cargo fmt --all -- --check
- name: run typos
run: typos
- name: Typos info
if: failure()
run: |
echo 'To fix typos, please run `typos -w`'
echo 'To check for a diff, run `typos`'
echo 'You can find typos here: https://crates.io/crates/typos'
tests:
name: Tests
Expand Down

0 comments on commit 7ec3bb9

Please sign in to comment.