fix(selection-range): clamp recovered ranges to source #7436
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: Build and Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| schedule: | |
| # Prime the caches every Monday | |
| - cron: 0 1 * * MON | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| # - macos-latest | |
| - windows-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Set git to use LF | |
| run: | | |
| git config --global core.autocrlf false | |
| git config --global core.eol lf | |
| - name: Checkout tree | |
| uses: actions/checkout@v7 | |
| with: | |
| submodules: true | |
| - name: Set-up OCaml | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: "5.5" | |
| - name: Build and install dependencies | |
| run: opam install . | |
| # The Makefile explains why we don't use --with-test. | |
| - name: Install test dependencies | |
| run: opam exec -- make install-test-deps | |
| - name: Run build @all | |
| run: opam exec -- make all | |
| - name: Run the unit tests | |
| run: opam exec -- make test-ocaml |