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 Sep 9, 2023
1 parent fff81bf commit c1209e2
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Set-up Node.js 16
- name: Set-up Node.js 20
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 16
node-version: 20

- name: Get yarn cache folder path
id: yarn-cache-dir-path
Expand Down Expand Up @@ -80,8 +80,7 @@ jobs:
fail-fast: false
matrix:
os:
- macos-13
- macos-12 # macos-latest
- macos-latest
- ubuntu-latest
ocaml-compiler:
- "5.0"
Expand All @@ -90,11 +89,6 @@ jobs:
ocaml-compiler: "4.14"
- os: ubuntu-latest
ocaml-compiler: ocaml-variants.5.0.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static
- os: ubuntu-latest
ocaml-compiler: ocaml-variants.5.2.0+trunk
opam-repositories: |
beta: https://github.com/ocaml/ocaml-beta-repository.git
default: https://github.com/ocaml/opam-repository.git

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

Expand All @@ -103,10 +97,9 @@ jobs:
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ./
uses: .
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-repositories: ${{ matrix.opam-repositories }}
dune-cache: ${{ matrix.os != 'windows-latest' }}

- run: opam depext --install uri
Expand Down

0 comments on commit c1209e2

Please sign in to comment.