Skip to content

Commit b7ed29c

Browse files
authored
ci(GHA): Use actions/checkout@v4 (#599)
1 parent 0a69394 commit b7ed29c

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Check out the repo
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Build Docker images
2323
run: "make docker-images"
2424
- name: Fix permissions
@@ -45,7 +45,7 @@ jobs:
4545
USE_CLIENT_IMAGE: 'true'
4646
steps:
4747
- name: Check out the repo
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
4949
- name: Build Docker images
5050
run: "make docker-images"
5151
- name: Pull server_image
@@ -68,7 +68,7 @@ jobs:
6868
- 'Dockerfile.test-server'
6969
steps:
7070
- name: Check out the repo
71-
uses: actions/checkout@v3
71+
uses: actions/checkout@v4
7272
- name: Run docker build
7373
run: 'file=${{ matrix.dockerfile }} && docker build -t "learn-ocaml-${file#*.}" -f "$file" .'
7474

.github/workflows/build-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
runs-on: macos-14
1818
steps:
1919
- name: Check out the repo
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
- name: Build learn-ocaml
2222
run: 'sh .ci-macosx.sh'

.github/workflows/check-update-index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out the repo
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Execute the script
1919
run: ./scripts/update-index.sh

.github/workflows/deploy-master.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
steps:
1616
- name: Check out the repo
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- name: Set up Docker Buildx
1919
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
2020
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- name: Check out the repo
56-
uses: actions/checkout@v3
56+
uses: actions/checkout@v4
5757
- name: Set up Docker Buildx
5858
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
5959
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver
@@ -95,7 +95,7 @@ jobs:
9595
runs-on: ubuntu-latest
9696
steps:
9797
- name: Check out the repo
98-
uses: actions/checkout@v3
98+
uses: actions/checkout@v4
9999
- name: Set up Docker Buildx
100100
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
101101
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver

.github/workflows/opam-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Check out the repo
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636
- name: Prepare target package repository
3737
id: prep
3838
run: |

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
steps:
4444
- name: Check out the repo
4545
# Mandatory step (otherwise, gh could raise "fatal: Not a git repository")
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
- name: Download workflow artifacts
4848
# cf. https://github.com/actions/download-artifact/issues/3
4949
uses: dawidd6/action-download-artifact@v2
@@ -98,7 +98,7 @@ jobs:
9898
run: tag="${{ needs.release-please.outputs.tag_name }}"; echo "::set-output name=tag::${tag#v}"
9999
id: tag
100100
- name: Check out the repo
101-
uses: actions/checkout@v3
101+
uses: actions/checkout@v4
102102
- name: Set up Docker Buildx
103103
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
104104
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver
@@ -143,7 +143,7 @@ jobs:
143143
run: tag="${{ needs.release-please.outputs.tag_name }}"; echo "::set-output name=tag::${tag#v}"
144144
id: tag
145145
- name: Check out the repo
146-
uses: actions/checkout@v3
146+
uses: actions/checkout@v4
147147
- name: Set up Docker Buildx
148148
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
149149
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver
@@ -192,7 +192,7 @@ jobs:
192192
run: tag="${{ needs.release-please.outputs.tag_name }}"; echo "::set-output name=tag::${tag#v}"
193193
id: tag
194194
- name: Check out the repo
195-
uses: actions/checkout@v3
195+
uses: actions/checkout@v4
196196
- name: Set up Docker Buildx
197197
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
198198
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver

.github/workflows/static-builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# we could use an env var, albeit it would be less convenient
2626
steps:
2727
- name: Check out the repo
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
- name: Build learn-ocaml-compilation
3030
run: 'docker build -t learn-ocaml-compilation --target=compilation .'
3131
- name: 'Build ${{ matrix.arch_dir }}.zip'
@@ -50,7 +50,7 @@ jobs:
5050
# we could use an env var, albeit it would be less convenient
5151
steps:
5252
- name: Check out the repo
53-
uses: actions/checkout@v3
53+
uses: actions/checkout@v4
5454
- name: Build the binaries
5555
run: |
5656
./scripts/static-build.sh
@@ -82,7 +82,7 @@ jobs:
8282
# we could use an env var, albeit it would be less convenient
8383
steps:
8484
- name: Check out the repo
85-
uses: actions/checkout@v3
85+
uses: actions/checkout@v4
8686
- name: Show OS version
8787
run: |
8888
sw_vers

0 commit comments

Comments
 (0)