Skip to content

Commit

Permalink
do the format check before calling dune subst
Browse files Browse the repository at this point in the history
Signed-off-by: alanechang <alanechang@janestreet.com>
  • Loading branch information
alanechang committed Nov 27, 2023
1 parent 4bb9282 commit b781292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
- name: Opam dependencies
run: opam install --deps-only -t .

- name: Self-formatting test
run: opam exec -- dune build @fmt

- name: Build
run: |
opam exec -- dune subst
opam exec -- dune build -p ocamlformat-lib,ocamlformat
- name: Self-formatting test
run: opam exec -- dune build @fmt

- name: Runtest
run: opam exec -- dune runtest

Expand Down

0 comments on commit b781292

Please sign in to comment.