Skip to content

Commit

Permalink
[Add]: lint-doc and lint-fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
muqiuhan committed Oct 22, 2023
1 parent 97383dd commit aed5f74
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,34 @@ jobs:
run: opam exec -- make build

- name: Test
run: opam exec -- make test
run: opam exec -- make test

lint-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Use OCaml 4.14.x
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.x
dune-cache: true

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

lint-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Use OCaml 4.14.x
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.x
dune-cache: true

- name: Lint fmt
uses: ocaml/setup-ocaml/lint-fmt@v2

0 comments on commit aed5f74

Please sign in to comment.