ci: bump actions to latest, pin windows runner

- actions/checkout v4 -> v6 (Node 24, addresses Node 20 deprecation).
- runs-on windows-latest -> windows-2025 (current image; pin avoids
  silent surprise when GitHub redirects windows-latest to a newer
  image mid-2026).
- Swatinem/rust-cache@v2 retained (v2 floating tag still maintained;
  latest is v2.9.1 under that major).
This commit is contained in:
2026-05-18 11:00:39 +07:00
parent bcce939f72
commit 713eb5bbde
+5 -2
View File
@@ -14,9 +14,12 @@ permissions:
jobs:
build:
runs-on: windows-latest
# Pinned explicitly: `windows-latest` is being redirected to a newer image
# by GitHub in mid-2026 — pin the current Windows Server 2025 image so
# release behavior is deterministic across that transition.
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.tag || github.ref }}