From c25bb8bbf2af1276ddd30e6cecc3a2ef0447aee5 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Fri, 15 Sep 2023 15:21:09 +0900 Subject: [PATCH] add Go 1.21 to the build matrix (#392) * add Go 1.21 to the build matrix * drop Go 1.18 --- .github/workflows/go.yml | 8 ++++---- go.mod | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6fd3e4b9..c3b374a6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] - go-version: [ "1.18", "1.19", "1.20" ] + go-version: [ "1.19", "1.20", "1.21" ] runs-on: ${{ matrix.os }} steps: - name: setup Go ${{ matrix.go-version }} @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ "ubuntu-latest", "windows-latest" ] - go-version: [ "1.18", "1.19", "1.20" ] + go-version: [ "1.19", "1.20", "1.21" ] runs-on: ${{ matrix.os }} env: GOARCH: "386" @@ -50,7 +50,7 @@ jobs: - name: setup Go uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.21" - name: checkout uses: actions/checkout@v4 - name: build @@ -67,7 +67,7 @@ jobs: - name: setup Go uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.21" - name: checkout uses: actions/checkout@v4 - name: measure coverage diff --git a/go.mod b/go.mod index f6e74c30..4550ff37 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/goccy/go-yaml -go 1.18 +go 1.19 require ( github.com/fatih/color v1.10.0