Added basic string view (#13) #41
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: Rust CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rust:1.92 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| - name: Run checks | |
| run: ./bolt.sh check | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rust:1.92 | |
| needs: check | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| - name: Build | |
| run: ./bolt.sh build | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rust:1.92 | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| - name: Install cargo-nextest | |
| shell: bash | |
| run: cargo install cargo-nextest --locked | |
| - name: Run tests | |
| run: ./bolt.sh test | |
| - name: Install cargo-llvm-cov and llvm-tools | |
| run: | | |
| rustup component add llvm-tools-preview --toolchain 1.92.0-x86_64-unknown-linux-gnu | |
| cargo install cargo-llvm-cov | |
| - name: Run coverage and show summary | |
| run: | | |
| echo "=== Running Coverage Analysis ===" | |
| cargo llvm-cov --workspace --summary-only | |
| echo "====================================" |