Skip to content

Commit

Permalink
ci: update TinyGo to 0.31 (#2095)
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
mathetake authored Feb 27, 2024
1 parent 99b1443 commit 3ab3a6d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- 'netlify.toml'

env: # Update this prior to requiring a higher minor version in go.mod
GO_VERSION: "1.21" # 1.xx == latest patch of 1.xx
GO_VERSION: "1.22"

defaults:
run: # use bash for all operating systems unless overridden
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

env:
EMSDK_VERSION: "3.1.40"
TINYGO_VERSION: "0.30.0"
TINYGO_VERSION: "0.31.0"
ZIG_VERSION: "0.11.0"

concurrency:
Expand All @@ -34,9 +34,8 @@ jobs:
strategy:
matrix: # Use versions consistent with TinyGo.
go-version:
# TODO: Add 1.22 when TinyGo supports it.
- "1.20" # Latest Go version supported by TinyGo until its next version.
- "1.19" # Floor Go version of latest TinyGo
- "1.22"
- "1.20"

steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ defaults:
shell: bash

env: # Update this prior to requiring a higher minor version in go.mod
GO_VERSION: "1.21" # 1.xx == latest patch of 1.xx
TINYGO_VERSION: "0.30.0"
GO_VERSION: "1.22"
TINYGO_VERSION: "0.31.0"
ZIG_VERSION: "0.11.0"
BINARYEN_VERSION: "116"
STDLIB_TESTS: "internal/integration_test/stdlibs"
Expand Down Expand Up @@ -361,7 +361,7 @@ jobs:
go test -bench='BenchmarkWasip1/${{ matrix.compiler }}'
libsodium:
name: libsodium (${{ matrix.os.name }}, ${{ matrix.arch }}, optimizing)
name: libsodium (${{ matrix.os.name }}, ${{ matrix.os.arch }}, optimizing)
runs-on: ${{ matrix.os.version }}
strategy:
fail-fast: false # don't fail fast as sometimes failures are arch/OS specific
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
tags: 'v[0-9]+.[0-9]+.[0-9]+**' # Ex. v0.2.0 v0.2.1-rc2

env: # Update this prior to requiring a higher minor version in go.mod
GO_VERSION: "1.21" # 1.xx == latest patch of 1.xx
GO_VERSION: "1.22"

defaults:
run: # use bash for all operating systems unless overridden
Expand Down

0 comments on commit 3ab3a6d

Please sign in to comment.