diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 13a87a35d2..f457cc687c 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.26.2' + go-version: '1.26.4' 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.26.2' + go-version: '1.26.4' 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 1b16b2be4c..c022609e50 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -12,6 +12,22 @@ concurrency: cancel-in-progress: true jobs: + go-mod-tidy: + # Check that go.sum is up to date. + runs-on: ubuntu-slim + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Install Go + uses: actions/setup-go@v6 + with: + go-version: '1.26.4' + cache: true + - name: Run go mod tidy + run: go mod tidy + - name: Check go.mod and go.sum are up to date + run: git diff --exit-code + build-linux: # Build Linux binaries, ready for release. # This runs inside an Alpine Linux container so we can more easily create a @@ -142,7 +158,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version: '1.26.4' cache: true - name: Install wasmtime uses: bytecodealliance/actions/wasmtime/setup@v1 @@ -186,7 +202,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version: '1.26.4' cache: true - name: Install Node.js uses: actions/setup-node@v6 @@ -305,7 +321,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version: '1.26.4' 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 4e5d4a4e5d..f4e0308e51 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -17,12 +17,6 @@ jobs: outputs: version: ${{ steps.version.outputs.version }} steps: - - name: Configure pagefile - uses: al-cheb/configure-pagefile-action@v1.4 - with: - minimum-size: 8GB - maximum-size: 24GB - disk-root: "C:" - uses: MinoruSekine/setup-scoop@v4 - name: Install Dependencies shell: bash @@ -40,7 +34,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version: '1.26.4' cache: true - name: Restore cached LLVM source uses: actions/cache/restore@v5 @@ -124,12 +118,6 @@ jobs: runs-on: windows-2022 needs: build-windows steps: - - name: Configure pagefile - uses: al-cheb/configure-pagefile-action@v1.4 - with: - minimum-size: 8GB - maximum-size: 24GB - disk-root: "C:" - uses: MinoruSekine/setup-scoop@v4 - name: Install Dependencies shell: bash @@ -141,7 +129,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version: '1.26.4' cache: true - name: Download TinyGo build uses: actions/download-artifact@v8 @@ -157,18 +145,12 @@ jobs: runs-on: windows-2022 needs: build-windows steps: - - name: Configure pagefile - uses: al-cheb/configure-pagefile-action@v1.4 - with: - minimum-size: 8GB - maximum-size: 24GB - disk-root: "C:" - name: Checkout uses: actions/checkout@v6 - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version: '1.26.4' cache: true - name: Download TinyGo build uses: actions/download-artifact@v8 @@ -183,12 +165,6 @@ jobs: runs-on: windows-2022 needs: build-windows steps: - - name: Configure pagefile - uses: al-cheb/configure-pagefile-action@v1.4 - with: - minimum-size: 8GB - maximum-size: 24GB - disk-root: "C:" - uses: MinoruSekine/setup-scoop@v4 - name: Install Dependencies shell: bash @@ -200,7 +176,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version: '1.26.4' cache: true - name: Download TinyGo build uses: actions/download-artifact@v8 diff --git a/go.sum b/go.sum index 9ee4eec987..0b179750d5 100644 --- a/go.sum +++ b/go.sum @@ -23,6 +23,8 @@ github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= github.com/golangci/misspell v0.6.0 h1:JCle2HUTNWirNlDIAUO44hUsKhOFqGPoC4LZxlaSXDs= github.com/golangci/misspell v0.6.0/go.mod h1:keMNyY6R9isGaSAu+4Q8NMBwMPkh15Gtc8UCVoDtAWo= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf h1:7+FW5aGwISbqUtkfmIpZJGRgNFg2ioYPvFaUxdqpDsg= github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf/go.mod h1:RpwtwJQFrIEPstU94h88MWPXP2ektJZ8cZ0YntAmXiE= github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= @@ -98,6 +100,7 @@ golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w= golang.org/x/net v0.50.0 h1:ucWh9eiCGyDR3vtzso0WMQinm2Dnt8cFMuQa9K33J60= golang.org/x/net v0.50.0/go.mod h1:UgoSli3F/pBgdJBHCTc+tp3gmrU4XswgGRgtnwWTfyM= golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4= +golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=