Skip to content

Commit

Permalink
Upgrade to Go 1.19
Browse files Browse the repository at this point in the history
This was mainly done to be able to use slices.Equal(), which was first
introduced in Go 1.18. And since there are no breaking changes between
1.19 and 1.18, I thought why not go directly for 1.19
  • Loading branch information
SimonTheLeg committed Sep 5, 2022
1 parent 63bf5cf commit 5ba0c53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.18.3
go-version: 1.19.0
- name: GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
unit-test:
strategy:
matrix:
go: [1.18.3]
go: [1.19.0]
runs-on: ubuntu-latest
name: unit -> go ${{ matrix.go }}
steps:
Expand All @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.18.3]
go: [1.19.0]
runs-on: ${{ matrix.os }}
name: integration -> ${{ matrix.os }} / go ${{ matrix.go }}
steps:
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.17.6 # for now we can keep this as a fixed version
go-version: 1.19.0 # for now we can keep this as a fixed version
- name: Install zsh # until https://github.com/actions/virtual-environments/issues/4849 is resolved
run: sudo apt-get update; sudo apt-get install zsh
- name: Install konf-go
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/simontheleg/konf-go

go 1.17
go 1.19

require (
github.com/google/go-cmp v0.5.5
Expand Down

0 comments on commit 5ba0c53

Please sign in to comment.