Skip to content

Commit

Permalink
Fix ci for cargo fmt (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
quambene authored Aug 29, 2023
1 parent 78eec48 commit f37bb75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: cargo fmt
run: cargo fmt
- name: cargo fmt --check
run: cargo fmt --check
fmt-nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: cargo +nightly fmt
run: cargo +nightly fmt
- name: cargo +nightly fmt --check
run: cargo +nightly fmt --check
test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f37bb75

Please sign in to comment.