docs: update README #13
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| DOTNET_NOLOGO: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Setup Rust Cargo Cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| native/target/ | |
| key: ${{ runner.os }}-Cargo-${{ hashFiles('native/Cargo.*') }} | |
| restore-keys: | | |
| ${{ runner.os }}-Cargo- | |
| - name: Run Build | |
| run: dotnet build -c Release | |
| - name: Run Test | |
| run: dotnet test --no-build -c Release -v n --logger 'console;verbosity=normal' | |
| - name: Run Rust Cargo Clippy | |
| working-directory: native | |
| run: cargo clippy --release --all-targets -- -D warnings |