Skip to content

Commit

Permalink
CN: Add formatting check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-mak committed Jul 22, 2024
1 parent dcf4844 commit dab76c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,8 @@ jobs:
cd tests; USE_OPAM='' ./run-cheri.sh
cd ..
- name: Check CN code formatting
run: |
opam switch ${{ matrix.version }}
eval $(opam env --switch=${{ matrix.version }})
USE_OPAM='' cd backend/cn && dune build @fmt
1 change: 0 additions & 1 deletion backend/cn/.ocamlformat
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ parens-tuple=always
sequence-style=terminator
type-decl=sparse
space-around-records=true
wrap-comments=true

0 comments on commit dab76c4

Please sign in to comment.