Skip to content

Update thiserror requirement from 1.0.2 to 2 #449

Update thiserror requirement from 1.0.2 to 2

Update thiserror requirement from 1.0.2 to 2 #449

Workflow file for this run

on: [push, pull_request]
name: Continuous integration
jobs:
check:
name: Check and Lint
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
# https://github.com/actions/cache/blob/main/examples.md#rust---cargo
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo check
run: cargo check --workspace --all-targets
- name: Cargo fmt
run: cargo fmt --all -- --check
- name: Cargo clippy
run: cargo clippy --workspace --all-targets -- -D warnings