|
|
@ -47,12 +47,12 @@ jobs:
|
|
|
|
name: Test
|
|
|
|
name: Test
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
go-version: [ 1.20.x, 1.21.x ]
|
|
|
|
go-version: [ 1.21.x ]
|
|
|
|
platform: [ ubuntu-latest, macos-latest ]
|
|
|
|
platform: [ ubuntu-latest, macos-latest ]
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Install Go
|
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
uses: actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
|
|
- name: Checkout code
|
|
|
@ -66,12 +66,12 @@ jobs:
|
|
|
|
name: TestOnWindows
|
|
|
|
name: TestOnWindows
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
go-version: [ 1.20.x, 1.21.x ]
|
|
|
|
go-version: [ 1.21.x ]
|
|
|
|
platform: [ windows-latest ]
|
|
|
|
platform: [ windows-latest ]
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Install Go
|
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
uses: actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
|
|
- name: Checkout code
|
|
|
|