ci: add go test on macos, windows and go latest version

This commit is contained in:
Planxnx
2024-04-25 15:09:59 +07:00
parent fc5e11b52a
commit 31f8f8ca3e

View File

@@ -16,7 +16,7 @@ jobs:
lint:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
os: ["ubuntu-latest"]
name: Lint (${{ matrix.os }})
runs-on: ${{ matrix.os }}
@@ -42,8 +42,8 @@ jobs:
test:
strategy:
matrix:
os: ["ubuntu-latest"]
go-version: ["1.22.x"] # minimum version and latest version
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
go-version: ["1.22.x", "1.x"] # minimum version and latest version
name: Test (${{ matrix.os }}/${{ matrix.go-version }})
runs-on: ${{ matrix.os }}
steps: