Skip to content

Commit

Permalink
improve formatting; add formatting check to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr Martian committed Aug 12, 2024
1 parent f7fe96a commit c08ca97
Show file tree
Hide file tree
Showing 2 changed files with 336 additions and 108 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
with:
toolchain: stable
override: true

- name: Install Rustfmt
run: rustup component add rustfmt

- name: Install Clippy
run: rustup component add clippy
Expand All @@ -43,6 +46,10 @@ jobs:
run: cargo build
shell: bash

- name: Check Formatting
run: cargo fmt -- --check
shell: bash

- name: Run Rust tests
run: cargo test
shell: bash
Loading

0 comments on commit c08ca97

Please sign in to comment.