Skip to content

Replace anyhow::Result with std::error::Error-based Result in lib.rs … #77

Replace anyhow::Result with std::error::Error-based Result in lib.rs …

Replace anyhow::Result with std::error::Error-based Result in lib.rs … #77

Workflow file for this run

name: CI
on: [push]
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, beta, nightly]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }}
- run: cargo check --all
test:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['25.0', '26.0', '27.0']
toolchain: [stable]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
- run: rustup update ${{ matrix.toolchain }}
- run: cargo test --all
lints:
name: Lints
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, beta, nightly]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }}
- run: cargo fmt --all -- --check
- run: cargo clippy --all -- -D warnings