diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index d7626fdae4..5df546a70e 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -30,7 +30,7 @@ jobs: # https://github.com/rust-lang/rust/issues/79577 # https://sourceforge.net/p/mingw-w64/wiki2/Exception%20Handling # - image: [macos-latest, ubuntu-latest] + image: [macos-14, ubuntu-22.04] target: [x86_64-pc-windows-gnu, aarch64-pc-windows-gnullvm, x86_64-pc-windows-gnullvm, i686-pc-windows-gnullvm] runs-on: ${{ matrix.image }} diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 2d1c69f013..7494e557e4 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -15,7 +15,7 @@ on: jobs: windows: name: windows - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 @@ -24,7 +24,7 @@ jobs: windows-sys: name: windows-sys - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 @@ -32,7 +32,7 @@ jobs: run: cargo doc --no-deps -p windows-sys other-crates: - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index ae1c79a2ec..5936ca71d1 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -14,7 +14,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/gen.yml b/.github/workflows/gen.yml index f0cfe8a94b..b622c77fcb 100644 --- a/.github/workflows/gen.yml +++ b/.github/workflows/gen.yml @@ -15,7 +15,7 @@ on: jobs: check: name: tool_${{ matrix.tool }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: tool: [bindgen, bindings, yml, license, standalone] diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index ae72829eac..604ac3e784 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -14,7 +14,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/msrv-windows-bindgen.yml b/.github/workflows/msrv-windows-bindgen.yml index 84e7ae62a2..2c45e68ea6 100644 --- a/.github/workflows/msrv-windows-bindgen.yml +++ b/.github/workflows/msrv-windows-bindgen.yml @@ -18,8 +18,8 @@ jobs: matrix: rust: [1.74.0, stable, nightly] runs-on: - - windows-latest - - ubuntu-latest + - windows-2022 + - ubuntu-22.04 runs-on: ${{ matrix.runs-on }} steps: - name: Checkout diff --git a/.github/workflows/msrv-windows-core.yml b/.github/workflows/msrv-windows-core.yml index bb234e48a3..30e1b901d0 100644 --- a/.github/workflows/msrv-windows-core.yml +++ b/.github/workflows/msrv-windows-core.yml @@ -18,8 +18,8 @@ jobs: matrix: rust: [1.74.0, stable, nightly] runs-on: - - windows-latest - - ubuntu-latest + - windows-2022 + - ubuntu-22.04 runs-on: ${{ matrix.runs-on }} steps: - name: Checkout diff --git a/.github/workflows/msrv-windows-registry.yml b/.github/workflows/msrv-windows-registry.yml index eefc7c1873..52af5ea90d 100644 --- a/.github/workflows/msrv-windows-registry.yml +++ b/.github/workflows/msrv-windows-registry.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: rust: [1.74.0, stable, nightly] - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/msrv-windows-result.yml b/.github/workflows/msrv-windows-result.yml index 3089868175..83b55ac68c 100644 --- a/.github/workflows/msrv-windows-result.yml +++ b/.github/workflows/msrv-windows-result.yml @@ -18,8 +18,8 @@ jobs: matrix: rust: [1.74.0, stable, nightly] runs-on: - - windows-latest - - ubuntu-latest + - windows-2022 + - ubuntu-22.04 runs-on: ${{ matrix.runs-on }} steps: - name: Checkout diff --git a/.github/workflows/msrv-windows-strings.yml b/.github/workflows/msrv-windows-strings.yml index db42da465b..c4fef0bdf3 100644 --- a/.github/workflows/msrv-windows-strings.yml +++ b/.github/workflows/msrv-windows-strings.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: rust: [1.74.0, stable, nightly] - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/msrv-windows-sys.yml b/.github/workflows/msrv-windows-sys.yml index 7d79fd1bb5..caee941f99 100644 --- a/.github/workflows/msrv-windows-sys.yml +++ b/.github/workflows/msrv-windows-sys.yml @@ -18,8 +18,8 @@ jobs: matrix: rust: [1.60.0, stable, nightly] runs-on: - - windows-latest - - ubuntu-latest + - windows-2022 + - ubuntu-22.04 runs-on: ${{ matrix.runs-on }} steps: - name: Checkout diff --git a/.github/workflows/msrv-windows-version.yml b/.github/workflows/msrv-windows-version.yml index c6f5127445..e8f8597051 100644 --- a/.github/workflows/msrv-windows-version.yml +++ b/.github/workflows/msrv-windows-version.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: rust: [1.74.0, stable, nightly] - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/msrv-windows.yml b/.github/workflows/msrv-windows.yml index 248eb7aecb..3014bc73f3 100644 --- a/.github/workflows/msrv-windows.yml +++ b/.github/workflows/msrv-windows.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: rust: [1.74.0, stable, nightly] - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/no_std.yml b/.github/workflows/no_std.yml index f8a5ddc813..aac3b46900 100644 --- a/.github/workflows/no_std.yml +++ b/.github/workflows/no_std.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: rust: [stable, nightly] - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/slim_errors.yml b/.github/workflows/slim_errors.yml index 8191bbf3a7..8e42340ad7 100644 --- a/.github/workflows/slim_errors.yml +++ b/.github/workflows/slim_errors.yml @@ -25,7 +25,7 @@ jobs: - target: x86_64-pc-windows-gnu - target: i686-pc-windows-gnu runs-on: - - windows-latest + - windows-2022 runs-on: ${{ matrix.runs-on }} steps: - name: Checkout diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 8c691762f6..3690cc9445 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -15,7 +15,7 @@ on: jobs: web: if: github.repository == 'microsoft/windows-rs' - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: