From 0d43cc3a77d1bb14c6a69f9c73e8d15033488d1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=90=95=E6=B5=B7=E6=B6=9B?= <hi@taoshu.in>
Date: Tue, 7 May 2024 16:48:21 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Actions?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

macos-latest 改为 M1(ARM) 架构,本项目不支持。先改成 macos-13,
后续可能要去掉 mac。

另外加上 go1.22 测试。
---
 .github/workflows/go.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index a729833..4bdac95 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -4,8 +4,8 @@ jobs:
   test:
     strategy:
       matrix:
-        os: [ubuntu-latest, macos-latest, windows-latest]
-        version: ["1.18", "1.19", "1.20", "1.21"]
+        os: [ubuntu-latest, macos-13, windows-latest]
+        version: ["1.18", "1.19", "1.20", "1.21", "1.22"]
     runs-on: ${{ matrix.os }}
     steps:
       - name: Set up Go ${{ matrix.version }}