From 3b7e0edbbbf92b22ae2ff8c90e83eb3a811f658e Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 14 Oct 2025 20:30:22 +0200 Subject: [PATCH] chore: update all CI builds to use latest stable Go release. Also update some of the actions to their latest releases. Signed-off-by: deadprogram --- .github/workflows/build-macos.yml | 4 ++-- .github/workflows/docker.yml | 4 ++-- .github/workflows/linux.yml | 20 ++++++++++---------- .github/workflows/llvm.yml | 4 ++-- .github/workflows/nix.yml | 2 +- .github/workflows/sizediff.yml | 2 +- .github/workflows/windows.yml | 24 ++++++++++++------------ 7 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 8dc15ddde9..9fe7d933dc 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -39,7 +39,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.25.1' + go-version: '1.25.3' cache: true - name: Restore LLVM source cache uses: actions/cache/restore@v4 @@ -134,7 +134,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.25.1' + go-version: '1.25.3' cache: true - name: Build TinyGo (LLVM ${{ matrix.version }}) run: go install -tags=llvm${{ matrix.version }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b7485387a4..29463adcdd 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -31,7 +31,7 @@ jobs: sudo rm -rf /usr/local/share/boost df -h - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: recursive - name: Set up Docker Buildx @@ -58,7 +58,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c3aef05a2a..0577f30092 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -31,7 +31,7 @@ jobs: # We're not on a multi-user machine, so this is safe. run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: true - name: Extract TinyGo version @@ -131,13 +131,13 @@ jobs: needs: build-linux steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: true - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.25.0' + go-version: '1.25.3' cache: true - name: Install wasmtime uses: bytecodealliance/actions/wasmtime/setup@v1 @@ -164,7 +164,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: true - name: Install apt dependencies @@ -179,9 +179,9 @@ jobs: simavr \ ninja-build - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.25.0' + go-version: '1.25.3' cache: true - name: Install Node.js uses: actions/setup-node@v4 @@ -284,7 +284,7 @@ jobs: needs: build-linux steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Get TinyGo version id: version run: ./.github/workflows/tinygo-extract-version.sh | tee -a "$GITHUB_OUTPUT" @@ -296,9 +296,9 @@ jobs: g++-${{ matrix.toolchain }} \ libc6-dev-${{ matrix.libc }}-cross - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.25.0' + go-version: '1.25.3' cache: true - name: Restore LLVM source cache uses: actions/cache/restore@v4 diff --git a/.github/workflows/llvm.yml b/.github/workflows/llvm.yml index 6a4c1f9911..ec45d587e4 100644 --- a/.github/workflows/llvm.yml +++ b/.github/workflows/llvm.yml @@ -25,7 +25,7 @@ jobs: contents: read steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: recursive - name: Set up Docker Buildx @@ -52,7 +52,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: target: tinygo-llvm-build context: . diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 91464bf9ba..e65ae3193a 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -21,7 +21,7 @@ jobs: # See: https://github.com/tinygo-org/tinygo/pull/4516#issuecomment-2416363668 run: sudo apt-get remove llvm-18 - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Pull musl, bdwgc run: | git submodule update --init lib/musl lib/bdwgc diff --git a/.github/workflows/sizediff.yml b/.github/workflows/sizediff.yml index f2730ac3ae..08130a78c9 100644 --- a/.github/workflows/sizediff.yml +++ b/.github/workflows/sizediff.yml @@ -20,7 +20,7 @@ jobs: run: | echo "$HOME/go/bin" >> $GITHUB_PATH - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 # fetch all history (no sparse checkout) submodules: true diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a2d5c27075..b12f98a81b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -31,7 +31,7 @@ jobs: run: | scoop install ninja binaryen - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: true - name: Extract TinyGo version @@ -39,9 +39,9 @@ jobs: shell: bash run: ./.github/workflows/tinygo-extract-version.sh | tee -a "$GITHUB_OUTPUT" - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.25.0' + go-version: '1.25.3' cache: true - name: Restore cached LLVM source uses: actions/cache/restore@v4 @@ -143,11 +143,11 @@ jobs: run: | scoop install binaryen - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.25.0' + go-version: '1.25.3' cache: true - name: Download TinyGo build uses: actions/download-artifact@v4 @@ -173,11 +173,11 @@ jobs: maximum-size: 24GB disk-root: "C:" - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.25.0' + go-version: '1.25.3' cache: true - name: Download TinyGo build uses: actions/download-artifact@v4 @@ -209,11 +209,11 @@ jobs: run: | scoop install binaryen && scoop install wasmtime@29.0.1 - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.25.0' + go-version: '1.25.3' cache: true - name: Download TinyGo build uses: actions/download-artifact@v4