diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 5ffc40d3bd..11629521cb 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Install mimetype if: runner.os == 'Linux' - run: sudo apt-get install -y libfile-mimeinfo-perl + run: sudo apt-get update && sudo apt-get install -y libfile-mimeinfo-perl - name: install mdbook uses: baptiste0928/cargo-install@v3 with: @@ -159,7 +159,7 @@ jobs: needs: ubuntu steps: - name: Install curl - run: sudo apt-get install clang + run: sudo apt-get update && sudo apt-get install clang - uses: dtolnay/rust-toolchain@stable - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 @@ -173,7 +173,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Install deps - run: sudo apt-get install -y lsb-release wget software-properties-common gnupg ninja-build python3-dev python3-pip python3-venv libz3-dev + 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 - name: Install maturin run: cargo install --locked maturin - uses: actions/checkout@v4 @@ -204,7 +204,7 @@ jobs: - uses: actions/checkout@v4 - name: Install linkspector shell: bash - run: sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector + run: sudo apt-get update && sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector - name: Run linkspector shell: bash run: ./scripts/check_md_links.sh @@ -496,7 +496,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Install curl - run: sudo apt-get install clang + run: sudo apt-get update && sudo apt-get install clang - uses: dtolnay/rust-toolchain@stable - uses: nttld/setup-ndk@v1 with: @@ -518,4 +518,4 @@ jobs: #- name: Try if clang works # run: clang -v #- name: Windows Test - # run: C:\Rust\.cargo\bin\cargo.exe test --verbose \ No newline at end of file + # run: C:\Rust\.cargo\bin\cargo.exe test --verbose