refactor: remove ubuntu-latest and macos-latest

Signed-off-by: WANG Xu <feici02@outlook.com>
This commit is contained in:
WANG Xu 2025-02-05 17:10:44 +08:00 committed by Jinqing Kuang
parent 42f79ea70b
commit 3a5f7b0fcd
1 changed files with 8 additions and 2 deletions

View File

@ -18,11 +18,17 @@ concurrency:
jobs:
build:
name: Build and test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13, macos-14, macos-15]
name: Build and test on ${{ matrix.os }}
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- macos-13
- macos-14
- macos-15
steps:
- name: Checkout the repository