diff --git a/.github/workflows/cargo.yml b/.github/workflows/cargo.yml index b7be74b..e788c58 100644 --- a/.github/workflows/cargo.yml +++ b/.github/workflows/cargo.yml @@ -8,13 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 + - name: Set up Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 with: - profile: minimal - toolchain: nightly - override: true + toolchain: stable components: rustfmt, clippy - - uses: Swatinem/rust-cache@v2 - uses: actions-rs/cargo@v1 with: command: fmt