From 4dffd0ad5ce84410c9f6bd362b97d2cbec1fd725 Mon Sep 17 00:00:00 2001 From: Diego Giagio Date: Mon, 27 Oct 2025 14:56:42 -0400 Subject: [PATCH] Upgrade minimum Go version to 1.21 and fix Zizmor issues Signed-off-by: Diego Giagio --- .github/workflows/dco-check.yml | 4 ++-- .github/workflows/go.yml | 6 +++--- go.mod | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dco-check.yml b/.github/workflows/dco-check.yml index cd664ffc..e5ea69b3 100644 --- a/.github/workflows/dco-check.yml +++ b/.github/workflows/dco-check.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Check for DCO id: dco-check - uses: tisonkun/actions-dco@v1.1 + uses: tisonkun/actions-dco@f1024cd563550b5632e754df11b7d30b73be54a5 - name: Comment about DCO status uses: actions/github-script@v6 if: ${{ failure() }} @@ -22,4 +22,4 @@ jobs: [contributing guide](https://github.com/databricks/databricks-sql-go/blob/main/CONTRIBUTING.md) \ every commit message must include a sign-off message. One or more of your commits is missing this message. \ You can reword previous commit messages with an interactive rebase (\`git rebase -i main\`).` - }) \ No newline at end of file + }) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3f9cfa6f..3ddde873 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,18 +18,18 @@ jobs: - name: Set up Go Toolchain uses: actions/setup-go@v5 with: - go-version: '1.20.x' + go-version: '1.21.x' cache: false - name: Lint - uses: golangci/golangci-lint-action@v4 + uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc with: version: 'v1.51' build-and-test: name: Test and Build strategy: matrix: - go-version: [1.20.x] + go-version: [1.21.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/go.mod b/go.mod index d9a517c5..c66e030e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/databricks/databricks-sql-go -go 1.20 +go 1.21 require ( github.com/apache/arrow/go/v12 v12.0.1