From 4eb2eeaaf7eb85259e3d485dea67e714a6683382 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Thu, 28 Mar 2024 12:12:12 -0700 Subject: [PATCH 1/2] Use go 1.22 --- .github/workflows/cd-release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd-release.yaml b/.github/workflows/cd-release.yaml index 586435f45c..b17f7ec346 100644 --- a/.github/workflows/cd-release.yaml +++ b/.github/workflows/cd-release.yaml @@ -51,6 +51,10 @@ jobs: run: gh pr merge --merge --auto "cd-release" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: 1.22 - name: Build SQL Syntax run: ./build.sh working-directory: ./postgres/parser @@ -60,7 +64,7 @@ jobs: run: | latest=$(git rev-parse HEAD) echo "commitish=$latest" >> $GITHUB_OUTPUT - GO_BUILD_VERSION=1.21 scripts/build_binaries.sh + GO_BUILD_VERSION=1.22 scripts/build_binaries.sh - name: Create Release id: create_release uses: dolthub/create-release@v1 From abd62f4320101d98a5c738176f13f0c57979c072 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Thu, 28 Mar 2024 12:16:50 -0700 Subject: [PATCH 2/2] Update .github/workflows/cd-release.yaml Co-authored-by: Dustin Brown --- .github/workflows/cd-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd-release.yaml b/.github/workflows/cd-release.yaml index b17f7ec346..57bd0a207b 100644 --- a/.github/workflows/cd-release.yaml +++ b/.github/workflows/cd-release.yaml @@ -54,7 +54,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version-file: go.mod - name: Build SQL Syntax run: ./build.sh working-directory: ./postgres/parser