fix(core): correct deletion index calculation for char indices #1653
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: code quality | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.sha) || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| clippy_check: | |
| runs-on: namespace-profile-cached-arm64-grit | |
| steps: | |
| - name: clone code | |
| uses: namespacelabs/nscloud-checkout-action@v5 | |
| with: | |
| submodules: recursive | |
| - name: install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| # Sync with rust-toolchain.toml | |
| toolchain: 1.82 | |
| override: true | |
| components: rustfmt, clippy | |
| - name: lint | |
| run: cargo clippy --features test_ci --exclude grit-wasm-bindings --workspace --locked -- -D warnings | |
| - name: format | |
| run: cargo fmt -- --check |