Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Dec 2, 2023
1 parent 51277d1 commit c602efd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,14 @@ jobs:
git config --global core.ignorecase false
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js 16.x
uses: actions/setup-node@v3
- name: Set-up Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: lts/*


- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
if: runner.os == 'Windows'
uses: ocaml/setup-ocaml@v2
with:
Expand All @@ -93,7 +92,7 @@ jobs:
opam-depext: ${{ !matrix.skip-test }}
opam-depext-flags: --with-test

- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
if: runner.os != 'Windows'
uses: ocaml/setup-ocaml@v2
with:
Expand Down Expand Up @@ -121,7 +120,7 @@ jobs:
if: ${{ !matrix.skip-test }}

- name: build doc
if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref == 'refs/heads/master'}}
if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref_name == 'refs/heads/master'}}
run: |
opam install odoc lwt_log cohttp-lwt-unix yojson ocp-indent graphics higlo
opam exec -- make doc
Expand All @@ -139,9 +138,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use OCaml 4.14.x
- name: Set-up OCaml 4.14.x
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check changelog
uses: tarides/changelog-check-action@v1
uses: tarides/changelog-check-action@v2

0 comments on commit c602efd

Please sign in to comment.