server: record summarized error contents in telemetry #18
Workflow file for this run
This file contains 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: OCaml CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# Cancel in-progress job when a new push is performed | |
concurrency: | |
group: ci-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
ocaml-version: [5.1.1] | |
os: [ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up OCaml | |
uses: ocaml/setup-ocaml@v3 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-version }} | |
- name: Link lockfiles | |
run: | | |
ln -s telemetry.opam.locked-${{ matrix.ocaml-version }} telemetry.opam.locked | |
ln -s cn-lsp.opam.locked-${{ matrix.ocaml-version }} cn-lsp.opam.locked | |
- name: Install dependencies | |
run: opam install . --deps-only --locked -y | |
- name: Build | |
run: eval $(opam env) && dune build | |
- name: Run tests | |
run: eval $(opam env) && dune test |