chore: update rmcp to 1.4.0 #84
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: Quality Assurance | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| name: Tests | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: llvm-tools-preview | |
| - uses: taiki-e/install-action@cargo-llvm-cov | |
| - uses: taiki-e/install-action@nextest | |
| - name: Install NASM (Windows) | |
| if: runner.os == 'Windows' | |
| uses: ilammy/setup-nasm@v1 | |
| - name: Install Ninja (Windows) | |
| if: runner.os == 'Windows' | |
| uses: seanmiddleditch/gha-setup-ninja@master | |
| - name: Set up LLVM/libclang (Windows) | |
| if: runner.os == 'Windows' | |
| uses: KyleMayes/install-llvm-action@v2 | |
| with: | |
| version: "18" | |
| - name: Set CMake generator to Ninja (Windows) | |
| if: runner.os == 'Windows' | |
| run: echo "CMAKE_GENERATOR=Ninja" >> $env:GITHUB_ENV | |
| - name: Collect coverage data | |
| run: cargo llvm-cov nextest ${{ runner.os == 'Windows' && '--release' || '' }} | |
| code-style: | |
| name: Code style check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: rustfmt, clippy | |
| - name: Check formatting | |
| run: cargo fmt --all --check | |
| - name: Check clippy | |
| run: cargo clippy --workspace --all-targets --all-features -- -D warnings |