From a051d2fd703c01f474136adc538033fb6c667cfd Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Mon, 5 Oct 2026 14:14:09 +0545 Subject: [PATCH 1/5] ci: pin runner images to ubuntu-24.04, macos-26, windows-2025 --- .github/workflows/check-docs.yml | 2 +- .github/workflows/check-package.yml | 5 +++-- .github/workflows/check-precommit.yml | 2 +- .github/workflows/ci-cli.yml | 2 +- .github/workflows/ci-scripts.yml | 4 ++-- .github/workflows/ci-testing.yml | 2 +- .github/workflows/ci-use-checks.yaml | 8 ++++---- .github/workflows/release-pypi.yml | 2 +- 8 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index b31cdc5e..b60edda6 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -63,7 +63,7 @@ env: jobs: make-docs: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 env: ${{ fromJSON(inputs.env-vars) }} strategy: fail-fast: false diff --git a/.github/workflows/check-package.yml b/.github/workflows/check-package.yml index 530a5292..296b4441 100644 --- a/.github/workflows/check-package.yml +++ b/.github/workflows/check-package.yml @@ -36,7 +36,7 @@ on: type: string default: | { - "os": ["ubuntu-latest"], + "os": ["ubuntu-24.04"], "python-version": ["3.10"] } testing-matrix: @@ -45,9 +45,10 @@ on: type: string # default operating systems should be pinned to specific versions instead of "-latest" for stability # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources + # ubuntu-22.04 is deprecated (retired 2027-04-17) and macos-14 retires 2026-11-02: https://github.com/actions/runner-images/issues/14254 , /13518 default: | { - "os": ["ubuntu-22.04", "macos-latest", "windows-2022"], + "os": ["ubuntu-24.04", "macos-26", "windows-2022"], "python-version": ["3.10", "3.13"] } env-vars: diff --git a/.github/workflows/check-precommit.yml b/.github/workflows/check-precommit.yml index 3d17dad4..71d52028 100644 --- a/.github/workflows/check-precommit.yml +++ b/.github/workflows/check-precommit.yml @@ -33,7 +33,7 @@ env: jobs: pre-commit: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout 🛎️ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/.github/workflows/ci-cli.yml b/.github/workflows/ci-cli.yml index 850167b6..670cb827 100644 --- a/.github/workflows/ci-cli.yml +++ b/.github/workflows/ci-cli.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "macos-latest", "windows-latest"] + os: ["ubuntu-24.04", "macos-26", "windows-2025"] python-version: ["3.10"] timeout-minutes: 10 steps: diff --git a/.github/workflows/ci-scripts.yml b/.github/workflows/ci-scripts.yml index 8be8f45b..6c8e6acc 100644 --- a/.github/workflows/ci-scripts.yml +++ b/.github/workflows/ci-scripts.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "macos-latest", "windows-latest"] + os: ["ubuntu-24.04", "macos-26", "windows-2025"] python-version: ["3.10"] timeout-minutes: 15 steps: @@ -48,7 +48,7 @@ jobs: run: uv cache prune --ci standalone-run: - runs-on: "ubuntu-22.04" + runs-on: ubuntu-24.04 timeout-minutes: 20 env: TORCH_URL: "https://download.pytorch.org/whl/cpu/torch_stable.html" diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 5f73947b..f8352e4a 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-22.04", "macos-latest", "windows-2022"] + os: ["ubuntu-24.04", "macos-26", "windows-2022"] python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] requires: ["oldest", "latest"] exclude: diff --git a/.github/workflows/ci-use-checks.yaml b/.github/workflows/ci-use-checks.yaml index a3392003..553257fb 100644 --- a/.github/workflows/ci-use-checks.yaml +++ b/.github/workflows/ci-use-checks.yaml @@ -49,12 +49,12 @@ jobs: import-name: "lightning_utilities" build-matrix: | { - "os": ["ubuntu-22.04"], + "os": ["ubuntu-24.04"], "python-version": ["3.10"] } testing-matrix: | { - "os": ["ubuntu-22.04", "macos-14", "windows-2022"], + "os": ["ubuntu-24.04", "macos-26", "windows-2022"], "python-version": ["3.10", "3.13"] } @@ -70,12 +70,12 @@ jobs: custom-import-code: "import jsonargparse" build-matrix: | { - "os": ["ubuntu-latest", "macos-latest"], + "os": ["ubuntu-24.04", "macos-26"], "python-version": ["3.10"] } testing-matrix: | { - "os": ["ubuntu-latest", "macos-latest", "windows-latest"], + "os": ["ubuntu-24.04", "macos-26", "windows-2025"], "python-version": ["3.10"] } diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index 8eb1fdc3..e97cae0f 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -21,7 +21,7 @@ env: jobs: # based on https://github.com/pypa/gh-action-pypi-publish build-package: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: - name: Checkout 🛎️ From 353f2365c72c5691f38dd5b84ed2fbeab32ef39f Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Mon, 5 Oct 2026 14:16:09 +0545 Subject: [PATCH 2/5] ci: link runner-images reference --- .github/workflows/check-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-package.yml b/.github/workflows/check-package.yml index 296b4441..4409a389 100644 --- a/.github/workflows/check-package.yml +++ b/.github/workflows/check-package.yml @@ -45,7 +45,7 @@ on: type: string # default operating systems should be pinned to specific versions instead of "-latest" for stability # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources - # ubuntu-22.04 is deprecated (retired 2027-04-17) and macos-14 retires 2026-11-02: https://github.com/actions/runner-images/issues/14254 , /13518 + # runner images (labels, deprecations): https://github.com/actions/runner-images default: | { "os": ["ubuntu-24.04", "macos-26", "windows-2022"], From ea0989ad203f86dfa0c1bc37fbfd180af9c4e6b1 Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Mon, 5 Oct 2026 14:16:36 +0545 Subject: [PATCH 3/5] ci: add runner-images reference above pinned matrices --- .github/workflows/check-package.yml | 2 +- .github/workflows/ci-cli.yml | 1 + .github/workflows/ci-scripts.yml | 1 + .github/workflows/ci-testing.yml | 1 + .github/workflows/ci-use-checks.yaml | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-package.yml b/.github/workflows/check-package.yml index 4409a389..c0d9d4f4 100644 --- a/.github/workflows/check-package.yml +++ b/.github/workflows/check-package.yml @@ -45,7 +45,7 @@ on: type: string # default operating systems should be pinned to specific versions instead of "-latest" for stability # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources - # runner images (labels, deprecations): https://github.com/actions/runner-images + # Runner images: https://github.com/actions/runner-images default: | { "os": ["ubuntu-24.04", "macos-26", "windows-2022"], diff --git a/.github/workflows/ci-cli.yml b/.github/workflows/ci-cli.yml index 670cb827..a31fe35f 100644 --- a/.github/workflows/ci-cli.yml +++ b/.github/workflows/ci-cli.yml @@ -20,6 +20,7 @@ jobs: strategy: fail-fast: false matrix: + # Runner images: https://github.com/actions/runner-images os: ["ubuntu-24.04", "macos-26", "windows-2025"] python-version: ["3.10"] timeout-minutes: 10 diff --git a/.github/workflows/ci-scripts.yml b/.github/workflows/ci-scripts.yml index 6c8e6acc..6d3c9420 100644 --- a/.github/workflows/ci-scripts.yml +++ b/.github/workflows/ci-scripts.yml @@ -20,6 +20,7 @@ jobs: strategy: fail-fast: false matrix: + # Runner images: https://github.com/actions/runner-images os: ["ubuntu-24.04", "macos-26", "windows-2025"] python-version: ["3.10"] timeout-minutes: 15 diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index f8352e4a..18a7b6c8 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -16,6 +16,7 @@ jobs: strategy: fail-fast: false matrix: + # Runner images: https://github.com/actions/runner-images os: ["ubuntu-24.04", "macos-26", "windows-2022"] python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] requires: ["oldest", "latest"] diff --git a/.github/workflows/ci-use-checks.yaml b/.github/workflows/ci-use-checks.yaml index 553257fb..ba0e802d 100644 --- a/.github/workflows/ci-use-checks.yaml +++ b/.github/workflows/ci-use-checks.yaml @@ -47,6 +47,7 @@ jobs: actions-ref: ${{ github.sha }} # use this/local version artifact-name: dist-packages-${{ github.sha }} import-name: "lightning_utilities" + # Runner images: https://github.com/actions/runner-images build-matrix: | { "os": ["ubuntu-24.04"], From af629c3f589cbbea215a63cbebc5ffa2e9248630 Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Mon, 5 Oct 2026 14:17:37 +0545 Subject: [PATCH 4/5] ci: keep runner-images reference only in ci-testing --- .github/workflows/check-package.yml | 1 - .github/workflows/ci-cli.yml | 1 - .github/workflows/ci-scripts.yml | 1 - .github/workflows/ci-use-checks.yaml | 1 - 4 files changed, 4 deletions(-) diff --git a/.github/workflows/check-package.yml b/.github/workflows/check-package.yml index c0d9d4f4..24d69ae5 100644 --- a/.github/workflows/check-package.yml +++ b/.github/workflows/check-package.yml @@ -45,7 +45,6 @@ on: type: string # default operating systems should be pinned to specific versions instead of "-latest" for stability # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources - # Runner images: https://github.com/actions/runner-images default: | { "os": ["ubuntu-24.04", "macos-26", "windows-2022"], diff --git a/.github/workflows/ci-cli.yml b/.github/workflows/ci-cli.yml index a31fe35f..670cb827 100644 --- a/.github/workflows/ci-cli.yml +++ b/.github/workflows/ci-cli.yml @@ -20,7 +20,6 @@ jobs: strategy: fail-fast: false matrix: - # Runner images: https://github.com/actions/runner-images os: ["ubuntu-24.04", "macos-26", "windows-2025"] python-version: ["3.10"] timeout-minutes: 10 diff --git a/.github/workflows/ci-scripts.yml b/.github/workflows/ci-scripts.yml index 6d3c9420..6c8e6acc 100644 --- a/.github/workflows/ci-scripts.yml +++ b/.github/workflows/ci-scripts.yml @@ -20,7 +20,6 @@ jobs: strategy: fail-fast: false matrix: - # Runner images: https://github.com/actions/runner-images os: ["ubuntu-24.04", "macos-26", "windows-2025"] python-version: ["3.10"] timeout-minutes: 15 diff --git a/.github/workflows/ci-use-checks.yaml b/.github/workflows/ci-use-checks.yaml index ba0e802d..553257fb 100644 --- a/.github/workflows/ci-use-checks.yaml +++ b/.github/workflows/ci-use-checks.yaml @@ -47,7 +47,6 @@ jobs: actions-ref: ${{ github.sha }} # use this/local version artifact-name: dist-packages-${{ github.sha }} import-name: "lightning_utilities" - # Runner images: https://github.com/actions/runner-images build-matrix: | { "os": ["ubuntu-24.04"], From 8a8713d264618a46a0d4f7054acf3005f982c2df Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Mon, 5 Oct 2026 14:18:46 +0545 Subject: [PATCH 5/5] ci: use windows-2025 everywhere --- .github/workflows/check-package.yml | 2 +- .github/workflows/ci-testing.yml | 2 +- .github/workflows/ci-use-checks.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-package.yml b/.github/workflows/check-package.yml index 24d69ae5..f205151a 100644 --- a/.github/workflows/check-package.yml +++ b/.github/workflows/check-package.yml @@ -47,7 +47,7 @@ on: # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources default: | { - "os": ["ubuntu-24.04", "macos-26", "windows-2022"], + "os": ["ubuntu-24.04", "macos-26", "windows-2025"], "python-version": ["3.10", "3.13"] } env-vars: diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 18a7b6c8..c1b4dbe2 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: # Runner images: https://github.com/actions/runner-images - os: ["ubuntu-24.04", "macos-26", "windows-2022"] + os: ["ubuntu-24.04", "macos-26", "windows-2025"] python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] requires: ["oldest", "latest"] exclude: diff --git a/.github/workflows/ci-use-checks.yaml b/.github/workflows/ci-use-checks.yaml index 553257fb..641ad78d 100644 --- a/.github/workflows/ci-use-checks.yaml +++ b/.github/workflows/ci-use-checks.yaml @@ -54,7 +54,7 @@ jobs: } testing-matrix: | { - "os": ["ubuntu-24.04", "macos-26", "windows-2022"], + "os": ["ubuntu-24.04", "macos-26", "windows-2025"], "python-version": ["3.10", "3.13"] }