diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c475b10bc77c7..bbb156c800b48 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ defaults: jobs: style_check: name: Style check - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain @@ -30,7 +30,7 @@ jobs: strategy: matrix: toolchain: [stable, nightly, 1.63.0, beta] - os: [ubuntu-22.04, macos-14, windows-2022] + os: [ubuntu-24.04, macos-14, windows-2022] runs-on: ${{ matrix.os }} env: TOOLCHAIN: ${{ matrix.toolchain }} @@ -48,10 +48,10 @@ jobs: include: - target: i686-unknown-linux-gnu docker: true - os: ubuntu-22.04 + os: ubuntu-24.04 - target: x86_64-unknown-linux-gnu docker: true - os: ubuntu-22.04 + os: ubuntu-24.04 - target: aarch64-apple-darwin os: macos-14 - target: x86_64-pc-windows-gnu @@ -85,7 +85,7 @@ jobs: test_tier2: name: Test tier2 needs: [test_tier1, style_check] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: fail-fast: true max-parallel: 12 @@ -158,7 +158,7 @@ jobs: check_cfg: name: "Check #[cfg]s" - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 env: TOOLCHAIN: nightly steps: @@ -172,12 +172,12 @@ jobs: # protection, rather than having to add each job separately. success: name: success - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - - style_check - - test_solaris - test_tier1 - test_tier2 + - solaris + - style_check - verify_build # Github branch protection is exceedingly silly and treats "jobs skipped because a dependency # failed" as success. So we have to do some contortions to ensure the job fails if any of its