Skip to content

remove: test logging #29

remove: test logging

remove: test logging #29

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
strategy:
fail-fast: false
matrix:
platform:
- macos
- ubuntu
- windows
toolchain:
- stable
- 1.75.0
features:
- tokio1
- std
name: "Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }} (feat: ${{ matrix.features }})"
runs-on: "${{ matrix.platform }}-latest"
steps:
- uses: actions/checkout@v4
- name: Configure Rust
run: |
rustup toolchain install --profile minimal --no-self-update ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
rustup component add clippy
- uses: Swatinem/rust-cache@v2
- run: cargo test --features ${{ matrix.features }} id_same_as_inner
env:
RUST_LOG: debug
- run: cargo clippy --features ${{ matrix.features }}
formatting:
name: Fmt check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Rust
run: |
rustup toolchain install --profile minimal --no-self-update stable
rustup default stable
- run: cargo fmt --check