From e53f8fa4af8c78a5b1661f33c1033e1db4c79c2f Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Wed, 19 Feb 2025 14:20:51 -0800 Subject: [PATCH] chore: Use Go 1.24 in Trunk and workflows (#770) --- .github/workflows/ci-go-lint.yml | 2 +- .github/workflows/ci-go-test.yml | 2 +- .github/workflows/ci-runtime-build.yml | 2 +- .github/workflows/ci-runtime-integration-tests.yml | 2 +- .github/workflows/ci-sdk-go-build.yml | 4 ++-- .github/workflows/codeql.yml | 2 +- .github/workflows/release-runtime.yaml | 2 +- .github/workflows/release-sdk-go.yaml | 2 +- .trunk/trunk.yaml | 2 +- go.work | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-go-lint.yml b/.github/workflows/ci-go-lint.yml index 4d35119a9..fc912670c 100644 --- a/.github/workflows/ci-go-lint.yml +++ b/.github/workflows/ci-go-lint.yml @@ -50,7 +50,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: "${{ matrix.dir }}/go.sum" - name: Run Linter uses: golangci/golangci-lint-action@v6 diff --git a/.github/workflows/ci-go-test.yml b/.github/workflows/ci-go-test.yml index 4ebdda10f..efb228114 100644 --- a/.github/workflows/ci-go-test.yml +++ b/.github/workflows/ci-go-test.yml @@ -51,7 +51,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: "${{ matrix.dir }}/go.sum" - name: Run Unit Tests run: | diff --git a/.github/workflows/ci-runtime-build.yml b/.github/workflows/ci-runtime-build.yml index 765f302d5..d9e191207 100644 --- a/.github/workflows/ci-runtime-build.yml +++ b/.github/workflows/ci-runtime-build.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: runtime/go.sum - name: Build Runtime working-directory: runtime diff --git a/.github/workflows/ci-runtime-integration-tests.yml b/.github/workflows/ci-runtime-integration-tests.yml index 00049166a..a8d68c3f3 100644 --- a/.github/workflows/ci-runtime-integration-tests.yml +++ b/.github/workflows/ci-runtime-integration-tests.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: runtime/go.sum - name: Run Integration Tests working-directory: runtime diff --git a/.github/workflows/ci-sdk-go-build.yml b/.github/workflows/ci-sdk-go-build.yml index b9b7dee70..9f8800cf8 100644 --- a/.github/workflows/ci-sdk-go-build.yml +++ b/.github/workflows/ci-sdk-go-build.yml @@ -57,7 +57,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: ./sdk/go/go.sum - name: Build Program run: go build . @@ -78,7 +78,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: "${{ matrix.dir }}/go.sum" - name: Setup TinyGo uses: acifani/setup-tinygo@v2 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9c46894be..214804bc2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -67,7 +67,7 @@ jobs: if: matrix.language == 'go' uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: runtime/go.sum # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/release-runtime.yaml b/.github/workflows/release-runtime.yaml index d0c77d852..ca729ec77 100644 --- a/.github/workflows/release-runtime.yaml +++ b/.github/workflows/release-runtime.yaml @@ -32,7 +32,7 @@ jobs: run: npm run build - uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: runtime/go.sum - uses: goreleaser/goreleaser-action@v6 with: diff --git a/.github/workflows/release-sdk-go.yaml b/.github/workflows/release-sdk-go.yaml index 26325a008..da61babec 100644 --- a/.github/workflows/release-sdk-go.yaml +++ b/.github/workflows/release-sdk-go.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 cache-dependency-path: ./sdk/go/go.sum - name: Prepare Release working-directory: sdk/go diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 9fcdb1c10..34c8efaca 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -14,7 +14,7 @@ plugins: # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - - go@1.23.6 + - go@1.24.0 - node@18.20.5 - python@3.10.8 diff --git a/go.work b/go.work index 7756551e8..caf03cee2 100644 --- a/go.work +++ b/go.work @@ -1,6 +1,6 @@ go 1.23.1 -toolchain go1.23.6 +toolchain go1.24.0 use ( ./lib/manifest