Skip to content

ci: bump softprops/action-gh-release from 2.2.2 to 2.5.0 (#15) #65

ci: bump softprops/action-gh-release from 2.2.2 to 2.5.0 (#15)

ci: bump softprops/action-gh-release from 2.2.2 to 2.5.0 (#15) #65

Workflow file for this run

# SPDX-License-Identifier: AGPL-3.0-or-later
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up OCaml
uses: ocaml/setup-ocaml@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3
with:
ocaml-compiler: "5.1"
- name: Install dependencies
run: opam install . --deps-only --with-test --with-doc
- name: Build
run: opam exec -- dune build
- name: Run tests
run: opam exec -- dune runtest
- name: Check formatting
run: opam exec -- dune build @fmt
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up OCaml
uses: ocaml/setup-ocaml@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3
with:
ocaml-compiler: "5.1"
- name: Install dependencies
run: opam install . --deps-only
- name: Build
run: opam exec -- dune build
- name: Lint with odoc
run: opam exec -- dune build @doc
continue-on-error: true