diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cce02b..01c0e56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,13 +27,13 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} + - run: | + cargo build --verbose --locked + - run: | + cargo test --verbose --locked - run: rustup component add rustfmt-preview - name: cargo fmt --all -- --check if stable run: | if [ "${{ matrix.rust }}" = "stable" ]; then cargo fmt --all -- --check fi - - run: | - cargo build --verbose - - run: | - cargo test --verbose