Skip to content

Commit d5c68a7

Browse files
authored
Merge pull request #2 from grafana/dgiagio/fix-zizmor
Upgrade minimum Go version to 1.21 and fix Zizmor issues
2 parents d0ebd21 + 4dffd0a commit d5c68a7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/dco-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- name: Check for DCO
1010
id: dco-check
11-
uses: tisonkun/actions-dco@v1.1
11+
uses: tisonkun/actions-dco@f1024cd563550b5632e754df11b7d30b73be54a5
1212
- name: Comment about DCO status
1313
uses: actions/github-script@v6
1414
if: ${{ failure() }}
@@ -22,4 +22,4 @@ jobs:
2222
[contributing guide](https://github.com/databricks/databricks-sql-go/blob/main/CONTRIBUTING.md) \
2323
every commit message must include a sign-off message. One or more of your commits is missing this message. \
2424
You can reword previous commit messages with an interactive rebase (\`git rebase -i main\`).`
25-
})
25+
})

.github/workflows/go.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ jobs:
1818
- name: Set up Go Toolchain
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.20.x'
21+
go-version: '1.21.x'
2222
cache: false
2323

2424
- name: Lint
25-
uses: golangci/golangci-lint-action@v4
25+
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc
2626
with:
2727
version: 'v1.51'
2828
build-and-test:
2929
name: Test and Build
3030
strategy:
3131
matrix:
32-
go-version: [1.20.x]
32+
go-version: [1.21.x]
3333
os: [ubuntu-latest]
3434
runs-on: ${{ matrix.os }}
3535

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/databricks/databricks-sql-go
22

3-
go 1.20
3+
go 1.21
44

55
require (
66
github.com/apache/arrow/go/v12 v12.0.1

0 commit comments

Comments
 (0)