Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pin the actions/checkout version to avoid libgit2's incompatibility #787

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bakefile-test.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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