From f8052615ba0b3b4230f48dc5c5cb5ff117b91569 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Tue, 7 Jul 2020 14:15:45 +0900 Subject: [PATCH 1/2] Enable matrix test for Go version --- .github/workflows/go.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1c766d1..41197dc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,12 +6,18 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] + go-version: + - '1.10' + - '1.11' + - '1.12' + - '1.13' + - '1.14' runs-on: ${{ matrix.os }} steps: - - name: Set up Go 1.13 + - name: Set up Go ${{ matrix.go-version }} uses: actions/setup-go@v1 with: - go-version: 1.13 + go-version: ${{ matrix.go-version }} id: go - name: Check out code into the Go module directory From ddcd22f68e860fef59a081db98cab0aed17ff38d Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Tue, 7 Jul 2020 14:22:10 +0900 Subject: [PATCH 2/2] Update go versions --- .github/workflows/go.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 41197dc..9c219da 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,11 +7,9 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] go-version: - - '1.10' - - '1.11' - - '1.12' - - '1.13' - - '1.14' + - '1.12.x' + - '1.13.x' + - '1.14.x' runs-on: ${{ matrix.os }} steps: - name: Set up Go ${{ matrix.go-version }}