25
25
steps :
26
26
- name : Install mimetype
27
27
if : runner.os == 'Linux'
28
- run : sudo apt-get install -y libfile-mimeinfo-perl
28
+ run : sudo apt-get update && sudo apt-get install -y libfile-mimeinfo-perl
29
29
- name : install mdbook
30
30
uses : baptiste0928/cargo-install@v3
31
31
with :
@@ -159,7 +159,7 @@ jobs:
159
159
needs : ubuntu
160
160
steps :
161
161
- name : Install curl
162
- run : sudo apt-get install clang
162
+ run : sudo apt-get update && sudo apt-get install clang
163
163
- uses : dtolnay/rust-toolchain@stable
164
164
- uses : actions/checkout@v4
165
165
- uses : Swatinem/rust-cache@v2
@@ -173,7 +173,7 @@ jobs:
173
173
runs-on : ubuntu-24.04
174
174
steps :
175
175
- name : Install deps
176
- run : sudo apt-get install -y lsb-release wget software-properties-common gnupg ninja-build python3-dev python3-pip python3-venv libz3-dev
176
+ run : sudo apt-get update && sudo apt-get install -y lsb-release wget software-properties-common gnupg ninja-build python3-dev python3-pip python3-venv libz3-dev
177
177
- name : Install maturin
178
178
run : cargo install --locked maturin
179
179
- uses : actions/checkout@v4
@@ -204,7 +204,7 @@ jobs:
204
204
- uses : actions/checkout@v4
205
205
- name : Install linkspector
206
206
shell : bash
207
- run : sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector
207
+ run : sudo apt-get update && sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector
208
208
- name : Run linkspector
209
209
shell : bash
210
210
run : ./scripts/check_md_links.sh
@@ -496,7 +496,7 @@ jobs:
496
496
runs-on : ubuntu-24.04
497
497
steps :
498
498
- name : Install curl
499
- run : sudo apt-get install clang
499
+ run : sudo apt-get update && sudo apt-get install clang
500
500
- uses : dtolnay/rust-toolchain@stable
501
501
- uses : nttld/setup-ndk@v1
502
502
with :
@@ -518,4 +518,4 @@ jobs:
518
518
# - name: Try if clang works
519
519
# run: clang -v
520
520
# - name: Windows Test
521
- # run: C:\Rust\.cargo\bin\cargo.exe test --verbose
521
+ # run: C:\Rust\.cargo\bin\cargo.exe test --verbose
0 commit comments