Skip to content

Commit 79424fa

Browse files
committed
fixup! ci/github: install git before checking out the repository
1 parent 632f78c commit 79424fa

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/main.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -414,17 +414,8 @@ jobs:
414414
- name: prepare libc6 for actions
415415
if: matrix.vector.jobname == 'linux32'
416416
run: apt -q update && apt -q -y install libc6-amd64 lib64stdc++6
417-
- name: install git in container
418-
run: |
419-
if [ -f /etc/alpine-release ]; then
420-
apk update && apk add --no-cache git
421-
elif [ -f /etc/almalinux-release ] || [ -f /etc/redhat-release ]; then
422-
dnf -y install git
423-
else
424-
apt -q update && apt -q -y install git
425-
fi
426-
- uses: actions/checkout@v4
427417
- run: ci/install-dependencies.sh
418+
- uses: actions/checkout@v4
428419
- run: useradd builder --create-home
429420
- run: chown -R builder .
430421
- run: sudo --preserve-env --set-home --user=builder ci/run-build-and-tests.sh

0 commit comments

Comments
 (0)