Skip to content

fixed failing tests #15

fixed failing tests

fixed failing tests #15

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: '*'
env:
CARGO_TERM_COLOR: always
jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/[email protected]
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.nightly }}
strategy:
fail-fast: false
matrix:
toolchain: [ 'stable', 'beta' ]
nightly: [false]
include:
- toolchain: 'nightly'
nightly: true
steps:
- uses: actions/checkout@v4
- name: Install ${{ matrix.toolchain }} toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
components: clippy, rustfmt
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Run cargo fmt
run: cargo fmt --all --check
- name: Run tests
run: cargo nextest run --all-features --all-targets
- name: Run doc tests
run: cargo test --doc --verbose
- name: Run clippy
run: cargo clippy --all-targets --all-features