Skip to content

Commit

Permalink
Don't allow unsupported compilers to be selected
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Jul 17, 2024
1 parent c26b22d commit d9cbd4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
if: steps.cache-opam.outputs.cache-hit != 'true'
run: opam init --yes --no-setup .

- name: Restrict testing to available compilers
if: steps.cache-opam.outputs.cache-hit != 'true'
run: opam switch set-invariant --formula "`"ocaml`" {>= `"4.13`"}"

- name: Save opam cache
if: steps.cache-opam.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
Expand Down

0 comments on commit d9cbd4d

Please sign in to comment.