Skip to content

Commit

Permalink
Add lint-doc job to CI
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Apr 30, 2024
1 parent 4341167 commit e28cf2c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,22 @@ jobs:
- run: opam exec -- make ppx_let-test
if: ${{ matrix.ppx == true }}

lint-opam:
lint-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
allow-prerelease-opam: true

- uses: ocaml/setup-ocaml/lint-doc@v2

lint-opam:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4
Expand All @@ -123,6 +136,5 @@ jobs:
with:
ocaml-compiler: "5.1"
allow-prerelease-opam: true
dune-cache: true

- uses: ocaml/setup-ocaml/lint-opam@v2

0 comments on commit e28cf2c

Please sign in to comment.