Skip to content

Commit

Permalink
feat(ci): check for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
figsoda committed Jun 16, 2023
1 parent 73efa94 commit e7311ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cargo fmt
run: |
rustup toolchain install nightly --profile minimal -c rustfmt
cargo +nightly fmt --check

0 comments on commit e7311ef

Please sign in to comment.