Skip to content

build: bump thiserror from 1.0.61 to 2.0.3 #160

build: bump thiserror from 1.0.61 to 2.0.3

build: bump thiserror from 1.0.61 to 2.0.3 #160

Workflow file for this run

name: Linux
on:
push:
branches:
- main
pull_request:
env:
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: short
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74
override: true
- name: Cache dependencies
uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab
- name: Compile (all features)
run: cargo build --all-features --all-targets --workspace
# Don't test benches.
- name: Run Rust tests (all features)
timeout-minutes: 30
run: cargo test --all-features --examples --tests --workspace
# Note that `--doc` can't be combined with other tests.
- name: Run Rust doc-tests (all features)
timeout-minutes: 30
run: cargo test --all-features --doc --workspace
- name: Compile (no features)
run: cargo build --no-default-features --all-targets --workspace
# Don't test benches.
- name: Run Rust tests (no features)
timeout-minutes: 30
run: cargo test --no-default-features --examples --tests --workspace
# Note that `--doc` can't be combined with other tests.
- name: Run Rust doc-tests (no features)
timeout-minutes: 30
run: cargo test --no-default-features --doc --workspace