Skip to content

Commit

Permalink
chore: Use moonrepo to install rust
Browse files Browse the repository at this point in the history
  • Loading branch information
quodlibetor committed Jun 22, 2024
1 parent 1839d73 commit 8466c5d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: moonrepo/setup-rust@v1
with:
toolchain: ${{ matrix.rustv }}
components: clippy, rustfmt
- uses: swatinem/rust-cache@v2
channel: ${{ matrix.rustv }}
bins: cargo-nextest
components: clippy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: cargo test
run: cargo nextest run
- name: Clippy
run: cargo clippy -- -Dwarnings
- name: fmt
Expand Down

0 comments on commit 8466c5d

Please sign in to comment.