Skip to content

server: record summarized error contents in telemetry #18

server: record summarized error contents in telemetry

server: record summarized error contents in telemetry #18

Workflow file for this run

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