Skip to content

Commit e82ce82

Browse files
committed
CI: only run tests for OCaml 5 or higher
Signed-off-by: Andrew Helwer <[email protected]>
1 parent 2371e13 commit e82ce82

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
os:
1818
- ubuntu-latest
1919
- macos-latest
20-
ocaml-compiler:
21-
- '4.14.1'
20+
ocaml-version:
2221
- '5.1.0'
2322
env:
2423
EXAMPLES_DIR: "tlaplus-examples"
@@ -35,14 +34,13 @@ jobs:
3534
sudo apt-get install --yes time
3635
- uses: ocaml/setup-ocaml@v3
3736
with:
38-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
37+
ocaml-compiler: ${{ matrix.ocaml-version }}
3938
- uses: actions/cache@v4
4039
id: cache
4140
with:
4241
path: _build_cache
4342
key: ${{ runner.os }}_build_cache
4443
- name: Install optional dependencies
45-
if: startsWith(matrix.ocaml-compiler, '5.')
4644
run: |
4745
eval $(opam env)
4846
make opam-deps-opt

0 commit comments

Comments
 (0)