Skip to content

fix: Try improving error messaging #36

fix: Try improving error messaging

fix: Try improving error messaging #36

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
with_features:
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu, macos, windows]
toolchain:
- 1.77
- stable
- beta
- nightly
feature: [serde, send_guard]
exclude:
- os: windows
toolchain: nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose --all --features ${{ matrix.feature }}
- run: cargo test --verbose --all --features ${{ matrix.feature }}
if: matrix.toolchain == 'nightly'
- run: cargo test --verbose --all --all-features
if: matrix.toolchain == 'nightly'
no_features:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, macos, windows]
toolchain:
- 1.77
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose --all
- run: cargo test --verbose --all
build_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup default nightly
- run: cargo install cargo-docs-rs
- run: cargo docs-rs -p fieldx