refactore index pool #472
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Lint and Test | |
| on: | |
| push: | |
| paths-ignore: | |
| - '.gitignore' | |
| - 'CITATION.cff' | |
| - 'LICENSE' | |
| - 'README.md' | |
| pull_request: | |
| paths-ignore: | |
| - '.gitignore' | |
| - 'CITATION.cff' | |
| - 'LICENSE' | |
| - 'README.md' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| # - os: macos-latest | |
| # - os: windows-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: 'true' | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt,clippy | |
| - name: fmt | |
| run: cargo fmt -- --check | |
| - name: check feature combinations | |
| run: | | |
| cargo check --all-targets --features "cache" | |
| cargo check --no-default-features | |
| cargo check --no-default-features --features sophia | |
| cargo check --no-default-features --features cache | |
| - name: clippy | |
| run: cargo clippy --no-deps --all-features | |
| - name: build | |
| run: cargo build | |
| - name: test | |
| run: cargo test --all-features |