Skip to content

Commit 5059f0c

Browse files
authored
Bump Go version and all dependencies (#15)
* Bump Go version and all dependencies * Also bump the go version in the Github workflow My IDE auto-formatted this. I hope you don't mind * Bump duckDB version in CI to 1.0.0
1 parent 8ea1ec4 commit 5059f0c

File tree

3 files changed

+127
-116
lines changed

3 files changed

+127
-116
lines changed

.github/workflows/go.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,30 @@ name: Go
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: ["main"]
99
pull_request:
10-
branches: [ "main" ]
10+
branches: ["main"]
1111

1212
jobs:
13-
1413
build:
1514
runs-on: ubuntu-latest
1615
steps:
17-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v4
1817

19-
- name: Set up Go
20-
uses: actions/setup-go@v4
21-
with:
22-
go-version: '1.20'
18+
- name: Set up Go
19+
uses: actions/setup-go@v4
20+
with:
21+
go-version: "1.22"
2322

24-
- name: Install DuckDB CLI
25-
run: |
26-
export DUCKDB_CLI_URL=https://github.com/duckdb/duckdb/releases/download/v0.10.3/
27-
curl -sSL -o /tmp/duckdb.zip ${DUCKDB_CLI_URL}/duckdb_cli-linux-amd64.zip
28-
unzip /tmp/duckdb.zip -d /usr/local/bin/
29-
duckdb --version
23+
- name: Install DuckDB CLI
24+
run: |
25+
export DUCKDB_CLI_URL=https://github.com/duckdb/duckdb/releases/download/v1.0.0/
26+
curl -sSL -o /tmp/duckdb.zip ${DUCKDB_CLI_URL}/duckdb_cli-linux-amd64.zip
27+
unzip /tmp/duckdb.zip -d /usr/local/bin/
28+
duckdb --version
3029
31-
- name: Build
32-
run: go build -v ./...
30+
- name: Build
31+
run: go build -v ./...
3332

34-
- name: Test
35-
run: go test -v ./...
33+
- name: Test
34+
run: go test -v ./...

go.mod

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
module github.com/scottlepp/go-duck
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/apache/arrow/go/v15 v15.0.2
7-
github.com/grafana/grafana-plugin-sdk-go v0.234.0
7+
github.com/grafana/grafana-plugin-sdk-go v0.242.0
88
github.com/hairyhenderson/go-which v0.2.0
99
github.com/iancoleman/orderedmap v0.3.0
1010
github.com/stretchr/testify v1.9.0
1111
)
1212

1313
require (
1414
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect
15-
github.com/andybalholm/brotli v1.0.5 // indirect
16-
github.com/apache/thrift v0.17.0 // indirect
15+
github.com/andybalholm/brotli v1.1.0 // indirect
16+
github.com/apache/thrift v0.20.0 // indirect
1717
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de
1818
github.com/cheekybits/genny v1.0.0 // indirect
1919
github.com/davecgh/go-spew v1.1.1 // indirect
20-
github.com/fatih/color v1.15.0 // indirect
21-
github.com/goccy/go-json v0.10.2 // indirect
20+
github.com/fatih/color v1.17.0 // indirect
21+
github.com/goccy/go-json v0.10.3 // indirect
2222
github.com/golang/snappy v0.0.4 // indirect
23-
github.com/google/flatbuffers v23.5.26+incompatible // indirect
23+
github.com/google/flatbuffers v24.3.25+incompatible // indirect
2424
github.com/google/go-cmp v0.6.0 // indirect
2525
github.com/hashicorp/go-hclog v1.6.3 // indirect
2626
github.com/json-iterator/go v1.1.12 // indirect
2727
github.com/klauspost/asmfmt v1.3.2 // indirect
28-
github.com/klauspost/compress v1.16.7 // indirect
29-
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
28+
github.com/klauspost/compress v1.17.9 // indirect
29+
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
3030
github.com/mattetti/filebuffer v1.0.1 // indirect
3131
github.com/mattn/go-colorable v0.1.13 // indirect
32-
github.com/mattn/go-isatty v0.0.19 // indirect
33-
github.com/mattn/go-runewidth v0.0.10 // indirect
32+
github.com/mattn/go-isatty v0.0.20 // indirect
33+
github.com/mattn/go-runewidth v0.0.16 // indirect
3434
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 // indirect
3535
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 // indirect
3636
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3737
github.com/modern-go/reflect2 v1.0.2 // indirect
3838
github.com/olekukonko/tablewriter v0.0.5 // indirect
39-
github.com/pierrec/lz4/v4 v4.1.18 // indirect
39+
github.com/pierrec/lz4/v4 v4.1.21 // indirect
4040
github.com/pmezard/go-difflib v1.0.0 // indirect
41-
github.com/rivo/uniseg v0.1.0 // indirect
42-
github.com/spf13/afero v1.3.3 // indirect
41+
github.com/rivo/uniseg v0.4.7 // indirect
42+
github.com/spf13/afero v1.11.0 // indirect
4343
github.com/zeebo/xxh3 v1.0.2 // indirect
44-
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
45-
golang.org/x/mod v0.13.0 // indirect
46-
golang.org/x/net v0.25.0 // indirect
47-
golang.org/x/sync v0.7.0 // indirect
48-
golang.org/x/sys v0.20.0 // indirect
49-
golang.org/x/text v0.15.0 // indirect
50-
golang.org/x/tools v0.14.0 // indirect
51-
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
52-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect
53-
google.golang.org/grpc v1.64.0 // indirect
54-
google.golang.org/protobuf v1.33.0 // indirect
44+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
45+
golang.org/x/mod v0.20.0 // indirect
46+
golang.org/x/net v0.27.0 // indirect
47+
golang.org/x/sync v0.8.0 // indirect
48+
golang.org/x/sys v0.23.0 // indirect
49+
golang.org/x/text v0.16.0 // indirect
50+
golang.org/x/tools v0.23.0 // indirect
51+
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 // indirect
52+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240805194559-2c9e96a0b5d4 // indirect
53+
google.golang.org/grpc v1.65.0 // indirect
54+
google.golang.org/protobuf v1.34.2 // indirect
5555
gopkg.in/yaml.v3 v3.0.1 // indirect
5656
)

0 commit comments

Comments
 (0)