Set floor on Go 1.18 (#732)

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda
2022-08-03 14:25:23 +09:00
committed by GitHub
parent 9dfdab2548
commit cb6ae4e660
4 changed files with 18 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ on:
- 'netlify.toml'
env: # Update this prior to requiring a higher minor version in go.mod
GO_VERSION: "1.17" # 1.xx == latest patch of 1.xx
GO_VERSION: "1.18" # 1.xx == latest patch of 1.xx
defaults:
run: # use bash for all operating systems unless overridden
@@ -27,8 +27,8 @@ jobs:
strategy:
matrix: # use latest available versions and be consistent on all workflows!
go-version:
- "1.17" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19.0-rc.2" # TODO: use 1.19.0 after the release.
- "1.18" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19"
steps:
- uses: actions/setup-go@v3
@@ -63,8 +63,8 @@ jobs:
matrix: # use latest available versions and be consistent on all workflows!
os: [ubuntu-20.04, macos-12, windows-2022]
go-version:
- "1.17" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19.0-rc.2" # TODO: use 1.19.0 after the release.
- "1.18" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19"
steps:
- uses: actions/setup-go@v3
@@ -99,8 +99,8 @@ jobs:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
matrix:
go-version:
- "1.17" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19.0-rc.2" # TODO: use 1.19.0 after the release.
- "1.18" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19"
steps:
- uses: actions/setup-go@v3
@@ -131,8 +131,8 @@ jobs:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
matrix:
go-version:
- "1.17" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19.0-rc.2" # TODO: use 1.19.0 after the release.
- "1.18" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19"
arch:
- "amd64"
- "arm64"

View File

@@ -25,8 +25,8 @@ jobs:
strategy:
matrix: # use latest available versions and be consistent on all workflows!
go-version:
- "1.17" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.18"
- "1.18" # == ${{ env.GO_VERSION }} because matrix cannot expand env variables
- "1.19"
steps:
- name: Checkout

View File

@@ -25,8 +25,8 @@ jobs:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
matrix:
go-version:
- "1.17"
- "1.19.0-rc.2" # TODO: use 1.19.0 after the release.
- "1.18"
- "1.19"
spec-version:
- "v1"
- "v2"
@@ -54,8 +54,8 @@ jobs:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
matrix:
go-version:
- "1.17"
- "1.19.0-rc.2" # TODO: use 1.19.0 after the release.
- "1.18"
- "1.19"
spec-version:
- "v1"
- "v2"
@@ -89,8 +89,8 @@ jobs:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
matrix:
go-version:
- "1.17"
- "1.19.0-rc.2" # TODO: use 1.19.0 after the release.
- "1.18"
- "1.19"
arch:
- "arm64"
- "riscv64"

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/tetratelabs/wazero
// This should be the minimum supported Go version per https://go.dev/doc/devel/release (1 version behind latest)
go 1.17
go 1.18