Skip to content

Commit 77cc590

Browse files
authored
ci: pin the actions/checkout version to avoid libgit2's incompatibility (#787)
See actions/checkout#1692
1 parent 8a91d80 commit 77cc590

11 files changed

+19
-19
lines changed

.github/workflows/bakefile-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Check out code
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v4.1.1
2121
- name: Run make test
2222
run: make test

.github/workflows/core.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
outputs:
2727
matrix: ${{ steps.set-matrix.outputs.matrix }}
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v4.1.1
3030
- id: set-json
3131
run: |
3232
JSON=build/matrix/latest.json
@@ -48,7 +48,7 @@ jobs:
4848
fail-fast: false
4949
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
5050
steps:
51-
- uses: actions/checkout@v4
51+
- uses: actions/checkout@v4.1.1
5252
- name: Login to Docker Hub
5353
uses: docker/login-action@v3
5454
with:

.github/workflows/devel.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
bakefile: [devel.docker-bake.json, core-latest-daily.docker-bake.json]
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v4.1.1
2020
- uses: docker/login-action@v3
2121
with:
2222
username: ${{ secrets.DOCKER_USER }}

.github/workflows/dockerfiles.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
container:
1313
image: rocker/tidyverse:latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v4.1.1
1616
- name: Set as safe for following git commands
1717
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
1818
- name: install packages

.github/workflows/extra.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
outputs:
1616
matrix: ${{ steps.set-matrix.outputs.matrix }}
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v4.1.1
1919
- id: set-matrix
2020
run: |
2121
CONTENT=$(jq '{ group: [.group[] | keys[] | select(. != "default")] } | tostring' -r bakefiles/extra.docker-bake.json)
@@ -29,7 +29,7 @@ jobs:
2929
fail-fast: false
3030
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v4.1.1
3333
- name: Login to Docker Hub
3434
uses: docker/login-action@v3
3535
with:

.github/workflows/linting.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout Code
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v4.1.1
2020
with:
2121
fetch-depth: 0
2222

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
platforms:
2929
- linux/amd64
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v4.1.1
3232
- name: Set up Docker Buildx
3333
uses: docker/setup-buildx-action@v3
3434
- name: Expose GitHub Runtime
@@ -70,7 +70,7 @@ jobs:
7070
- install_shiny_server.sh
7171
- install_geospatial.sh
7272
steps:
73-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@v4.1.1
7474
- name: Set up Docker Buildx
7575
uses: docker/setup-buildx-action@v3
7676
- name: Expose GitHub Runtime

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
outputs:
1414
tag: ${{ steps.tag-version.outputs.new_tag }}
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v4.1.1
1717

1818
- id: set-version
1919
run: |
@@ -34,7 +34,7 @@ jobs:
3434
needs: create_tag
3535
runs-on: ubuntu-latest
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v4.1.1
3838
- name: Create Release
3939
uses: ncipollo/release-action@v1
4040
with:

.github/workflows/reports.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
outputs:
3232
matrix: ${{ steps.set-matrix.outputs.matrix }}
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v4.1.1
3535
- id: set-matrix
3636
run: |
3737
CONTENT=$(jq -r '.r_version += ["extra"] | tostring' build/matrix/all.json)
@@ -45,7 +45,7 @@ jobs:
4545
fail-fast: false
4646
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v4.1.1
4949
- name: Clean up
5050
run: |
5151
docker image prune --all --force
@@ -72,12 +72,12 @@ jobs:
7272
image: rocker/tidyverse:latest
7373
steps:
7474
- name: Checkout main
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@v4.1.1
7676
- name: Set as safe for following git commands
7777
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
7878
- name: Checkout wiki
7979
if: github.event_name != 'pull_request'
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v4.1.1
8181
with:
8282
repository: "${{ github.repository }}.wiki"
8383
path: reports

.github/workflows/scripts-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
outputs:
2424
matrix: ${{ steps.set-matrix.outputs.matrix }}
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v4.1.1
2727
- id: set-matrix
2828
run: |
2929
CONTENT=$(jq 'tostring' -r tests/rocker_scripts/matrix.json)
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v4.1.1
4141
- name: Set up Docker Buildx
4242
uses: docker/setup-buildx-action@v3
4343
- name: Prepare build

.github/workflows/test-experimental.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
image: rocker/r-ver
1818
steps:
1919
- name: Checkout repo
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v4.1.1
2121
with:
2222
fetch-depth: 0
2323
- name: build

0 commit comments

Comments
 (0)