ci: remove deprecated Windows 2019 runner config (#1001)

https://github.com/actions/runner-images/issues/12045
This commit is contained in:
Josh McKinney 2025-07-13 18:33:28 -07:00 committed by GitHub
parent 41bcd3b783
commit 8ee044d423
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macOS-latest]
os: [ubuntu-latest, windows-2022, macOS-latest]
rust: [stable, nightly]
# Allow failures on nightly, it's just informative
include:
@ -63,15 +63,15 @@ jobs:
run: cargo test --all-features -- --nocapture --test-threads 1
continue-on-error: ${{ matrix.can-fail }}
- name: Test no default features
if: matrix.os != 'windows-2019'
if: matrix.os != 'windows-2022'
run: cargo test --no-default-features -- --nocapture --test-threads 1
continue-on-error: ${{ matrix.can-fail }}
- name: Test no default features with use-dev-tty feature enabled
if: matrix.os != 'windows-2019'
if: matrix.os != 'windows-2022'
run: cargo test --no-default-features --features "use-dev-tty events event-stream bracketed-paste" -- --nocapture --test-threads 1
continue-on-error: ${{ matrix.can-fail }}
- name: Test no default features with windows feature enabled
if: matrix.os == 'windows-2019'
if: matrix.os == 'windows-2022'
run: cargo test --no-default-features --features "windows" -- --nocapture --test-threads 1
continue-on-error: ${{ matrix.can-fail }}
- name: Test Packaging