Skip to content

Commit

Permalink
ci: pin the actions/checkout version to avoid libgit2's incompatibili…
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Apr 24, 2024
1 parent 8a91d80 commit 77cc590
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bakefile-test.yml
Expand Up @@ -17,6 +17,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
- name: Run make test
run: make test
4 changes: 2 additions & 2 deletions .github/workflows/core.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- id: set-json
run: |
JSON=build/matrix/latest.json
Expand All @@ -48,7 +48,7 @@ jobs:
fail-fast: false
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devel.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
bakefile: [devel.docker-bake.json, core-latest-daily.docker-bake.json]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerfiles.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
container:
image: rocker/tidyverse:latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Set as safe for following git commands
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: install packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/extra.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- id: set-matrix
run: |
CONTENT=$(jq '{ group: [.group[] | keys[] | select(. != "default")] } | tostring' -r bakefiles/extra.docker-bake.json)
Expand All @@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/r-build-test.yml
Expand Up @@ -28,7 +28,7 @@ jobs:
platforms:
- linux/amd64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Expose GitHub Runtime
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- install_shiny_server.sh
- install_geospatial.sh
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Expose GitHub Runtime
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
outputs:
tag: ${{ steps.tag-version.outputs.new_tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1

- id: set-version
run: |
Expand All @@ -34,7 +34,7 @@ jobs:
needs: create_tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Create Release
uses: ncipollo/release-action@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reports.yml
Expand Up @@ -31,7 +31,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- id: set-matrix
run: |
CONTENT=$(jq -r '.r_version += ["extra"] | tostring' build/matrix/all.json)
Expand All @@ -45,7 +45,7 @@ jobs:
fail-fast: false
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Clean up
run: |
docker image prune --all --force
Expand All @@ -72,12 +72,12 @@ jobs:
image: rocker/tidyverse:latest
steps:
- name: Checkout main
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
- name: Set as safe for following git commands
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Checkout wiki
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
repository: "${{ github.repository }}.wiki"
path: reports
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scripts-test.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- id: set-matrix
run: |
CONTENT=$(jq 'tostring' -r tests/rocker_scripts/matrix.json)
Expand All @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Prepare build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-experimental.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
image: rocker/r-ver
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: build
Expand Down

0 comments on commit 77cc590

Please sign in to comment.