Skip to content

Commit 4a82cce

Browse files
smorimotohhugo
authored andcommitted
Update GitHub Actions
Signed-off-by: Sora Morimoto <[email protected]>
1 parent dc36c33 commit 4a82cce

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,14 @@ jobs:
7272
git config --global core.ignorecase false
7373
7474
- name: Checkout code
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676

77-
- name: Use Node.js 16.x
78-
uses: actions/setup-node@v3
77+
- name: Set-up Node.js
78+
uses: actions/setup-node@v4
7979
with:
80-
node-version: 16.x
80+
node-version: lts/*
8181

82-
83-
- name: Use OCaml ${{ matrix.ocaml-compiler }}
82+
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
8483
if: runner.os == 'Windows'
8584
uses: ocaml/setup-ocaml@v2
8685
with:
@@ -93,7 +92,7 @@ jobs:
9392
opam-depext: ${{ !matrix.skip-test }}
9493
opam-depext-flags: --with-test
9594

96-
- name: Use OCaml ${{ matrix.ocaml-compiler }}
95+
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
9796
if: runner.os != 'Windows'
9897
uses: ocaml/setup-ocaml@v2
9998
with:
@@ -121,13 +120,13 @@ jobs:
121120
if: ${{ !matrix.skip-test }}
122121

123122
- name: build doc
124-
if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref == 'refs/heads/master'}}
123+
if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref_name == 'master'}}
125124
run: |
126125
opam install odoc lwt_log cohttp-lwt-unix yojson ocp-indent graphics higlo
127126
opam exec -- make doc
128127
129128
- name: synchronize doc
130-
if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
129+
if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref_name == 'master' }}
131130
uses: JamesIves/github-pages-deploy-action@v4
132131
with:
133132
branch: wikidoc
@@ -139,9 +138,9 @@ jobs:
139138
runs-on: ubuntu-latest
140139
steps:
141140
- name: Checkout code
142-
uses: actions/checkout@v3
141+
uses: actions/checkout@v4
143142

144-
- name: Use OCaml 4.14.x
143+
- name: Set-up OCaml 4.14.x
145144
uses: ocaml/setup-ocaml@v2
146145
with:
147146
ocaml-compiler: 4.14.x

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Check changelog
20-
uses: tarides/changelog-check-action@v1
20+
uses: tarides/changelog-check-action@v2

0 commit comments

Comments
 (0)