From 42b4722f1696431a20245225d7042ca80379fec2 Mon Sep 17 00:00:00 2001 From: Yanyi Wu Date: Mon, 27 Apr 2026 15:02:12 +0800 Subject: [PATCH 1/2] ci: cover latest hosted runners --- .github/workflows/cmake.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 30911e1..a3e8b82 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -12,17 +12,18 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ - ubuntu-22.04, - ubuntu-24.04, - macos-14, - windows-2022, - ] + os: + - ubuntu-22.04 + - ubuntu-latest + - macos-14 + - macos-latest + - windows-2022 + - windows-latest cpp_version: [11, 14, 17, 20] build_type: [Release, Debug] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 with: submodules: recursive fetch-depth: 0 From 43ef068714dd62b42332b664536a3087f7b7cf78 Mon Sep 17 00:00:00 2001 From: Yanyi Wu Date: Mon, 27 Apr 2026 15:04:36 +0800 Subject: [PATCH 2/2] ci: use checkout v6 --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a3e8b82..1765022 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -23,7 +23,7 @@ jobs: build_type: [Release, Debug] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: submodules: recursive fetch-depth: 0