Skip to content

Commit 48a826b

Browse files
committed
Different method to install git early
1 parent 11f7f91 commit 48a826b

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/coverage.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,23 @@ jobs:
4848
- name: Ensure GPU is working
4949
run: nvidia-smi
5050

51+
# We have to install git before checking out the repo,
52+
# so we can't use the install_unix_deps action for that.
53+
- name: Install git
54+
run: |
55+
apt-get update
56+
apt-get install -y git
57+
58+
- name: Checkout ${{ github.event.repository.name }}
59+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
60+
5161
- name: Install dependencies
5262
uses: ./.github/actions/install_unix_deps
5363
continue-on-error: false
5464
with:
5565
# for artifact fetching, graphics libs
56-
dependencies: "git libsqlite3-0 g++ jq wget libgl1 libegl1"
57-
dependent_exes: "git libsqlite3-0 g++ jq wget libgl1 libegl1"
58-
59-
- name: Checkout ${{ github.event.repository.name }}
60-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
66+
dependencies: "libsqlite3-0 g++ jq wget libgl1 libegl1"
67+
dependent_exes: "libsqlite3-0 g++ jq wget libgl1 libegl1"
6168

6269
- name: Setup proxy cache
6370
uses: nv-gha-runners/setup-proxy-cache@main

0 commit comments

Comments
 (0)