Skip to content

Feat(main): Colorize part of the search summary #127

Feat(main): Colorize part of the search summary

Feat(main): Colorize part of the search summary #127

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
checks:
runs-on: ubuntu-latest
# Only use stable for now.
strategy:
matrix:
toolchain:
- stable
#- beta
#- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Verify project manifest
run: cargo verify-project --verbose
- name: Check build
run: cargo check --verbose --all-targets --all-features
- name: Build and run tests
run: cargo test --verbose --all-targets --all-features
- name: Check correct rustfmt formatting
# HACK: pass all configuration items via CLI to circumvent unstability restriction.
run: >
cargo fmt --verbose --all --check
-- --config-path=/dev/null --config=$(
cat rustfmt.toml |
sed -E 's/\#.*$//g' |
sed '/^$/d' |
sed 's/ //g' |
sed -Ez 's/(\r)?\n/,/g' |
sed 's/,$//' |
sed 's/"//g'
)
- name: Check clippy warnings
run: cargo clippy --verbose --all-targets --all-features -- --deny warnings
- name: Build documentation
run: cargo doc --verbose --all-features --no-deps --document-private-items
env:
RUSTDOCFLAGS: "-Dwarnings"