diff options
-rw-r--r-- | .github/workflows/rust.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e3abfbd..dd2ef4f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -4,7 +4,7 @@ on: push: pull_request: -env: +env: CARGO_TERM_COLOR: always jobs: @@ -18,11 +18,13 @@ jobs: steps: - uses: actions/checkout@v3 - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - - name: Build - run: cargo build --verbose + - name: Build with smol + run: cargo build --workspace --verbose + - name: Build with tokio + run: cargo build --workspace --no-default-features --features tokio --verbose - name: Run tests - run: cargo test --verbose - - name: Run clippy + run: cargo test --workspace --verbose + - name: Run clippy run: cargo clippy -- -D warnings - - name: Run fmt - run: cargo fmt -- --check + - name: Run fmt + run: cargo fmt --all -- --check |