From 03903f58872740fe4b613afa6af9993f445a6e48 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Fri, 15 Sep 2023 13:48:39 +0900 Subject: [PATCH 1/2] add Go 1.21 to the build matrix --- .github/workflows/go.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a935b3f8..bbf79012 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.18", "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.18", "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@v3 - 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@v3 - name: measure coverage From 3430749d23a49dbd0e34630d927cddb1d3444f96 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Fri, 15 Sep 2023 15:15:53 +0900 Subject: [PATCH 2/2] drop Go 1.18 --- .github/workflows/go.yml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bbf79012..2356bc9d 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", "1.21" ] + 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", "1.21" ] + go-version: [ "1.19", "1.20", "1.21" ] runs-on: ${{ matrix.os }} env: GOARCH: "386" 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