diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c5ad9ab2..de74fe3d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,7 +15,15 @@ jobs: steps: - uses: actions/checkout@v3 + + # Install Rust toolchain + - name: Install Rust toolchain + run: rustup toolchain install nightly + + # Lint with fmt using nightly toolchain - name: Lint with fmt run: cargo +nightly fmt --all --check + + # Run tests - name: Run tests run: cargo test --all