Skip to content

Commit e2bf0af

Browse files
committed
Update version of actions
1 parent de64078 commit e2bf0af

5 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/build_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
options: --user root
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v6
2929

3030
- name: Opam init
3131
run: opam init -a --disable-sandboxing --compiler=4.14.2
@@ -41,7 +41,7 @@ jobs:
4141
mv ./_build/default/bin/bin.exe ppx.exe
4242
4343
- name: (only on release) Upload artifacts ${{ matrix.artifact }}
44-
uses: actions/upload-artifact@master
44+
uses: actions/upload-artifact@v7
4545
with:
4646
name: ${{ matrix.artifact }}
4747
path: src/ppx.exe

.github/workflows/build_macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- 4.14.2
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v6
2020

2121
- name: Use OCaml ${{ matrix.ocaml-compiler}}
22-
uses: ocaml/setup-ocaml@v2
22+
uses: ocaml/setup-ocaml@v3
2323
with:
2424
ocaml-compiler: ${{ matrix.ocaml-compiler }}
2525

@@ -34,7 +34,7 @@ jobs:
3434
mv ./_build/default/bin/bin.exe ppx.exe
3535
3636
- name: (only on release) Upload artifacts ${{ matrix.os }}
37-
uses: actions/upload-artifact@master
37+
uses: actions/upload-artifact@v7
3838
with:
3939
name: ${{ matrix.os }}
4040
path: src/ppx.exe

.github/workflows/build_windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- 4.14.2
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v6
2020

2121
- name: Use OCaml ${{ matrix.ocaml-compiler}}
22-
uses: ocaml/setup-ocaml@v2
22+
uses: ocaml/setup-ocaml@v3
2323
with:
2424
ocaml-compiler: ${{ matrix.ocaml-compiler }}
2525

@@ -34,7 +34,7 @@ jobs:
3434
mv ./_build/default/bin/bin.exe ppx.exe
3535
3636
- name: (only on release) Upload artifacts ${{ matrix.os }}
37-
uses: actions/upload-artifact@master
37+
uses: actions/upload-artifact@v7
3838
with:
3939
name: ${{ matrix.os }}
4040
path: src/ppx.exe

.github/workflows/publish.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
options: --user root
4747

4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v6
5050
with:
5151
repository: ${{ env.TARGET_REPO }}
5252
ref: ${{ env.TARGET_REF }}
@@ -65,7 +65,7 @@ jobs:
6565
mv ./_build/default/bin/bin.exe ppx.exe
6666
6767
- name: (only on release) Upload artifacts ${{ matrix.artifact }}
68-
uses: actions/upload-artifact@master
68+
uses: actions/upload-artifact@v7
6969
with:
7070
name: ${{ matrix.artifact }}
7171
path: src/ppx.exe
@@ -81,13 +81,13 @@ jobs:
8181
ocaml-compiler: 4.14.2
8282

8383
steps:
84-
- uses: actions/checkout@v3
84+
- uses: actions/checkout@v6
8585
with:
8686
repository: ${{ env.TARGET_REPO }}
8787
ref: ${{ env.TARGET_REF }}
8888

8989
- name: Use OCaml ${{ env.ocaml-compiler }}
90-
uses: ocaml/setup-ocaml@v2
90+
uses: ocaml/setup-ocaml@v3
9191
with:
9292
ocaml-compiler: ${{ env.ocaml-compiler }}
9393

@@ -102,7 +102,7 @@ jobs:
102102
mv ./_build/default/bin/bin.exe ppx.exe
103103
104104
- name: Upload artifacts
105-
uses: actions/upload-artifact@master
105+
uses: actions/upload-artifact@v7
106106
with:
107107
name: macOS-x64
108108
path: src/ppx.exe
@@ -118,13 +118,13 @@ jobs:
118118
ocaml-compiler: 4.14.2
119119

120120
steps:
121-
- uses: actions/checkout@v3
121+
- uses: actions/checkout@v6
122122
with:
123123
repository: ${{ env.TARGET_REPO }}
124124
ref: ${{ env.TARGET_REF }}
125125

126126
- name: Use OCaml ${{ env.ocaml-compiler }}
127-
uses: ocaml/setup-ocaml@v2
127+
uses: ocaml/setup-ocaml@v3
128128
with:
129129
ocaml-compiler: ${{ env.ocaml-compiler }}
130130

@@ -139,7 +139,7 @@ jobs:
139139
mv ./_build/default/bin/bin.exe ppx.exe
140140
141141
- name: Upload artifacts
142-
uses: actions/upload-artifact@master
142+
uses: actions/upload-artifact@v7
143143
with:
144144
name: macOS-arm64
145145
path: src/ppx.exe
@@ -158,13 +158,13 @@ jobs:
158158
- 4.14.2
159159

160160
steps:
161-
- uses: actions/checkout@v3
161+
- uses: actions/checkout@v6
162162
with:
163163
repository: ${{ env.TARGET_REPO }}
164164
ref: ${{ env.TARGET_REF }}
165165

166166
- name: Use OCaml ${{ matrix.ocaml-compiler}}
167-
uses: ocaml/setup-ocaml@v2
167+
uses: ocaml/setup-ocaml@v3
168168
with:
169169
ocaml-compiler: ${{ matrix.ocaml-compiler }}
170170

@@ -179,7 +179,7 @@ jobs:
179179
mv ./_build/default/bin/bin.exe ppx.exe
180180
181181
- name: (only on release) Upload artifacts ${{ matrix.os }}
182-
uses: actions/upload-artifact@master
182+
uses: actions/upload-artifact@v7
183183
with:
184184
name: ${{ matrix.os }}
185185
path: src/ppx.exe
@@ -190,11 +190,11 @@ jobs:
190190
name: (only on release) Publish
191191
runs-on: ubuntu-latest
192192
steps:
193-
- uses: actions/checkout@v3
193+
- uses: actions/checkout@v6
194194
with:
195195
repository: ${{ env.TARGET_REPO }}
196196
ref: ${{ env.TARGET_REF }}
197-
- uses: actions/setup-node@v4
197+
- uses: actions/setup-node@v6
198198
with:
199199
node-version: 20
200200
registry-url: "https://registry.npmjs.org"
@@ -204,35 +204,35 @@ jobs:
204204

205205
- name: Download Linux x64 artifacts
206206
if: success()
207-
uses: actions/download-artifact@master
207+
uses: actions/download-artifact@v7
208208
with:
209209
name: linux-x64
210210
path: binaries/linux-x64
211211

212212
- name: Download Linux arm64 artifacts
213213
if: success()
214-
uses: actions/download-artifact@master
214+
uses: actions/download-artifact@v7
215215
with:
216216
name: linux-arm64
217217
path: binaries/linux-arm64
218218

219219
- name: Download macOS x64 artifacts
220220
if: success()
221-
uses: actions/download-artifact@master
221+
uses: actions/download-artifact@v7
222222
with:
223223
name: macOS-x64
224224
path: binaries/darwin-x64
225225

226226
- name: Download macOS arm64 artifacts
227227
if: success()
228-
uses: actions/download-artifact@master
228+
uses: actions/download-artifact@v7
229229
with:
230230
name: macOS-arm64
231231
path: binaries/darwin-arm64
232232

233233
- name: Download windows artifacts
234234
if: success()
235-
uses: actions/download-artifact@master
235+
uses: actions/download-artifact@v7
236236
with:
237237
name: windows-latest
238238
path: binaries/windows
@@ -266,7 +266,7 @@ jobs:
266266
267267
- name: Create GitHub Release
268268
if: success() && startsWith(env.TARGET_REF, 'refs/tags/') || startsWith(env.TARGET_REF, 'v')
269-
uses: softprops/action-gh-release@v2
269+
uses: softprops/action-gh-release@v3
270270
with:
271271
tag_name: ${{ env.TARGET_REF }}
272272
name: Release ${{ env.TARGET_REF }}

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818

1919
- name: Use OCaml 4.14.2
2020
uses: ocaml/setup-ocaml@v3
@@ -30,12 +30,12 @@ jobs:
3030
working-directory: src
3131

3232
- name: Use pnpm
33-
uses: pnpm/action-setup@v4
33+
uses: pnpm/action-setup@v6
3434
with:
3535
version: 10.33.0
3636

3737
- name: Use Node.js
38-
uses: actions/setup-node@v4
38+
uses: actions/setup-node@v6
3939
with:
4040
node-version: 22
4141
cache: pnpm

0 commit comments

Comments
 (0)