From 559ba98319883e9b87d41e7cbb863ec98f1dab4a Mon Sep 17 00:00:00 2001 From: deadprogram Date: Fri, 14 Aug 2026 11:28:58 -0700 Subject: [PATCH 1/2] all: build/test using Go 1.27-rc3 Signed-off-by: deadprogram --- .github/workflows/build-macos.yml | 4 ++-- .github/workflows/linux.yml | 10 +++++----- .github/workflows/windows.yml | 8 ++++---- Dockerfile | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 877398edbc..4de130c589 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -40,7 +40,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Restore LLVM source cache uses: actions/cache/restore@v5 @@ -131,7 +131,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Build TinyGo (LLVM ${{ matrix.version }}) run: go install -tags=llvm${{ matrix.version }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8db99cc17d..7be6afe44d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -23,7 +23,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Run go mod tidy run: go mod tidy @@ -36,7 +36,7 @@ jobs: # statically linked binary. runs-on: ubuntu-latest container: - image: golang:1.27rc2-alpine + image: golang:1.27rc3-alpine outputs: version: ${{ steps.version.outputs.version }} steps: @@ -160,7 +160,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Install wasmtime uses: bytecodealliance/actions/wasmtime/setup@v1 @@ -204,7 +204,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Install Node.js uses: actions/setup-node@v6 @@ -323,7 +323,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Restore LLVM source cache uses: actions/cache/restore@v5 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 311f7dd0ff..f63ac6fef2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -34,7 +34,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Restore cached LLVM source uses: actions/cache/restore@v5 @@ -129,7 +129,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Download TinyGo build uses: actions/download-artifact@v8 @@ -150,7 +150,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Download TinyGo build uses: actions/download-artifact@v8 @@ -176,7 +176,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.27.0-rc.2' + go-version: '1.27.0-rc.3' cache: true - name: Download TinyGo build uses: actions/download-artifact@v8 diff --git a/Dockerfile b/Dockerfile index 4103d00770..771ac0355b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # tinygo-llvm stage obtains the llvm source for TinyGo -FROM golang:1.27rc2 AS tinygo-llvm +FROM golang:1.27rc3 AS tinygo-llvm RUN apt-get update && \ apt-get install -y apt-utils make cmake clang-17 ninja-build && \ @@ -33,7 +33,7 @@ RUN cd /tinygo/ && \ # tinygo-compiler copies the compiler build over to a base Go container (without # all the build tools etc). -FROM golang:1.27rc2 AS tinygo-compiler +FROM golang:1.27rc3 AS tinygo-compiler # Copy tinygo build. COPY --from=tinygo-compiler-build /tinygo/build/release/tinygo /tinygo From fd957102c01ea2bb7e662a60ed28534f403d735e Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sat, 15 Aug 2026 10:00:03 -0700 Subject: [PATCH 2/2] test: skip 'encoding/asn1' test Signed-off-by: deadprogram --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 627640a520..0f4d565117 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -349,7 +349,6 @@ TEST_PACKAGES_FAST = \ encoding \ encoding/ascii85 \ errors \ - encoding/asn1 \ encoding/base32 \ encoding/base64 \ encoding/csv \ @@ -392,6 +391,7 @@ TEST_PACKAGES_FAST = \ # crypto/des fails on wasi, needs panic()/recover() # crypto/hmac fails on wasi, it exits with a "slice out of range" panic # debug/plan9obj requires os.ReadAt, which is not yet supported on windows +# encoding/asn1 due to https://github.com/golang/go/commit/6a6d115f9a7422b2fa081ba6f567eefb4a099462 # encoding/xml takes a minute on linux and gives a stack overflow on wasi # image fails on wasi, needs panic()/recover() # io/ioutil requires os.ReadDir, which is not yet supported on windows or wasi