Skip to content

Commit

Permalink
add Go 1.21 to the build matrix (#392)
Browse files Browse the repository at this point in the history
* add Go 1.21 to the build matrix

* drop Go 1.18
  • Loading branch information
shogo82148 committed Sep 15, 2023
1 parent aa422f5 commit c25bb8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/goccy/go-yaml

go 1.18
go 1.19

require (
github.com/fatih/color v1.10.0
Expand Down

0 comments on commit c25bb8b

Please sign in to comment.