Skip to content

Commit

Permalink
Update ocaml/setup-ocaml to v3
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Jul 2, 2024
1 parent d67ac1b commit 6ed0ae5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ updates:
directory: /
schedule:
interval: weekly
labels:
- dependencies
- no changelog
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

steps:
- name: Set git to use LF
if: runner.ocaml-compiler < 5.2
if: matrix.ocaml-compiler < 5.2
run: |
git config --global core.autocrlf false
git config --global core.eol lf
Expand All @@ -82,10 +82,9 @@ jobs:
node-version: lts/*

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3.0.0-beta1
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: true
dune-cache: true
opam-pin: false

Expand Down Expand Up @@ -132,13 +131,12 @@ jobs:
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3.0.0-beta1
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.2"
allow-prerelease-opam: true
dune-cache: true

- uses: ocaml/setup-ocaml/lint-opam@v3.0.0-beta1
- uses: ocaml/setup-ocaml/lint-opam@v3
continue-on-error: true

lint-fmt:
Expand All @@ -148,10 +146,9 @@ jobs:
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3.0.0-beta1
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.2"
allow-prerelease-opam: true
dune-cache: true

- uses: ocaml/setup-ocaml/lint-fmt@v3.0.0-beta1
- uses: ocaml/setup-ocaml/lint-fmt@v3

0 comments on commit 6ed0ae5

Please sign in to comment.