We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0dd83 commit 4ff6040Copy full SHA for 4ff6040
.github/workflows/main.yml
@@ -9,6 +9,7 @@ on:
9
jobs:
10
run:
11
name: build
12
+ timeout-minutes: 15
13
strategy:
14
fail-fast: true
15
matrix:
@@ -48,3 +49,23 @@ jobs:
48
49
- run: opam exec -- dune runtest -j 1 -p containers # test only core on non-ubuntu platform
50
if: ${{ matrix.os != 'ubuntu-latest' }}
51
52
+
53
+ format:
54
+ name: format
55
+ strategy:
56
+ matrix:
57
+ ocaml-compiler:
58
+ - '5.1'
59
+ runs-on: 'ubuntu-latest'
60
+ steps:
61
+ - uses: actions/checkout@main
62
+ - name: Use OCaml ${{ matrix.ocaml-compiler }}
63
+ uses: ocaml/setup-ocaml@v2
64
+ with:
65
+ ocaml-compiler: ${{ matrix.ocaml-compiler }}
66
+ dune-cache: true
67
+ allow-prerelease-opam: true
68
69
+ - run: opam install ocamlformat.0.24.1
70
+ - run: opam exec -- make format-check
71
0 commit comments