diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index 7f4b5549b243..16aa7a141c51 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -13,7 +13,7 @@ concurrency: jobs: changes: name: Paths filter - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 outputs: should_run: ${{ steps.filter.outputs.src }} steps: @@ -39,12 +39,12 @@ jobs: fail-fast: false matrix: rust_version: [stable] - os: [ubuntu-22.04, windows-latest, macos-14] + os: [ubuntu-24.04, windows-latest, macos-14] include: - rust_version: nightly - os: ubuntu-22.04 + os: ubuntu-24.04 - rust_version: beta - os: ubuntu-22.04 + os: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -57,7 +57,6 @@ jobs: - name: Install Linux dependencies if: runner.os == 'Linux' run: | - sudo add-apt-repository ppa:kisak/kisak-mesa -y sudo apt-get update sudo apt install -y libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev mesa-vulkan-drivers libpango1.0-dev libudev-dev @@ -82,9 +81,7 @@ jobs: - name: Run tests with image tests if: runner.os != 'macOS' - # TODO: Disallow retries in general once we can allow only after SIGABRT. - # See: https://github.com/nextest-rs/nextest/issues/1172 - run: cargo nextest run --cargo-profile ci --workspace --locked --no-fail-fast --retries 2 -j 4 --features imgtests,lzma,jpegxr + run: cargo nextest run --cargo-profile ci --workspace --locked --no-fail-fast -j 4 --features imgtests,lzma,jpegxr env: # This is to counteract the disabling by rust-cache. # See: https://github.com/Swatinem/rust-cache/issues/43 @@ -116,7 +113,7 @@ jobs: needs: changes if: needs.changes.outputs.should_run == 'true' name: Lints with Rust ${{ matrix.rust_version }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 continue-on-error: ${{ matrix.rust_version == 'nightly' || matrix.rust_version == 'beta' }} strategy: fail-fast: false @@ -157,7 +154,7 @@ jobs: needs: changes if: needs.changes.outputs.should_run == 'true' name: Check dependencies - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -181,12 +178,12 @@ jobs: strategy: matrix: rust_version: [stable] - os: [ubuntu-22.04, windows-latest, macos-14] + os: [ubuntu-24.04, windows-latest, macos-14] include: - rust_version: nightly - os: ubuntu-22.04 + os: ubuntu-24.04 - rust_version: beta - os: ubuntu-22.04 + os: ubuntu-24.04 steps: - name: No-op