Skip to content

Commit

Permalink
Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Apr 30, 2024
1 parent 06b5c2a commit f27ef00
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Main workflow

on:
pull_request:
push:
pull_request:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON
Expand All @@ -15,31 +15,30 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- 4.04.x
- 4.05.x
- 4.11.x
- 4.13.x
- 4.14.x
- 5.0.x
- 5.1.x
- "4.04"
- "4.05"
- "4.11"
- "4.13"
- "4.14"
- "5.0"
- "5.1"
include:
- os: macos-latest
ocaml-compiler: 4.14.x
ocaml-compiler: "4.14"
- os: windows-latest
ocaml-compiler: 4.14.x
- os: macos-latest
ocaml-compiler: 5.1.x
ocaml-compiler: "4.14"

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout tree
uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: true
opam-depext-flags: --with-test

- run: opam install . --deps-only --with-test
Expand Down

0 comments on commit f27ef00

Please sign in to comment.