Skip to content

Commit 0c0bcd2

Browse files
authored
ci: fix broken dependencies. (#274)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 6786024 commit 0c0bcd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- uses: actions/checkout@v2
103103

104104
- name: Install dependencies (Linux)
105-
run: sudo apt-get install -y clang-format-12
105+
run: sudo apt update -y && sudo apt install -y clang-format-12
106106

107107
- name: Format (clang-format)
108108
run: |
@@ -118,7 +118,7 @@ jobs:
118118
- uses: actions/checkout@v2
119119

120120
- name: Install dependencies (Linux)
121-
run: sudo apt-get install -y clang-tidy-12
121+
run: sudo apt update -y && sudo apt install -y clang-tidy-12
122122

123123
- name: Bazel cache
124124
uses: PiotrSikora/[email protected]

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223

224224
- name: Install dependencies (Linux)
225225
if: ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }}
226-
run: sudo apt-get install -y ${{ matrix.deps }}
226+
run: sudo apt update -y && sudo apt install -y ${{ matrix.deps }}
227227

228228
- name: Activate Docker/QEMU
229229
if: startsWith(matrix.run_under, 'docker')

0 commit comments

Comments
 (0)