Skip to content

Commit 144a718

Browse files
committed
update go to 1.23, upgrade package versions and github actions
1 parent 773c5bc commit 144a718

15 files changed

+124
-70
lines changed

Diff for: .github/workflows/release_build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: Set up Go
15-
uses: actions/setup-go@v3
15+
uses: actions/setup-go@v5
1616
with:
17-
go-version: 1.22
17+
go-version: 1.23
1818
- name: Run GoReleaser
19-
uses: goreleaser/goreleaser-action@v4
19+
uses: goreleaser/goreleaser-action@v6
2020
with:
2121
distribution: goreleaser
2222
version: latest

Diff for: .github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Checkout
8-
uses: actions/checkout@v3
8+
uses: actions/checkout@v4
99
- name: Start container with test databases
10-
run: docker-compose -f test/docker-compose.yaml up -d
10+
run: docker compose -f test/docker-compose.yaml up -d
1111
- name: Prepare sqlite database
1212
run: make prepare-sqlite
1313
- name: Wait for docker containers to start
14-
run: sleep 30
14+
run: sleep 60
1515
- name: Set up Go
16-
uses: actions/setup-go@v3
16+
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.22
18+
go-version: 1.23
1919
- name: Install tparse for pretty test results
2020
run: go install github.com/mfridman/tparse@latest
2121
- name: Run test

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
result.mmd
33
mermerd
44
coverage.html
5+
mermerd_test.db

Diff for: .go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.0
1+
1.23

Diff for: go.mod

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
module github.com/KarnerTh/mermerd
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.7
7-
github.com/briandowns/spinner v1.23.0
7+
github.com/briandowns/spinner v1.23.1
88
github.com/denisenkom/go-mssqldb v0.12.3
9-
github.com/fatih/color v1.16.0
9+
github.com/fatih/color v1.18.0
1010
github.com/go-sql-driver/mysql v1.8.1
1111
github.com/jackc/pgx/v4 v4.18.3
1212
github.com/sirupsen/logrus v1.9.3
13-
github.com/spf13/cobra v1.8.0
14-
github.com/spf13/viper v1.18.2
13+
github.com/spf13/cobra v1.8.1
14+
github.com/spf13/viper v1.19.0
1515
github.com/stretchr/testify v1.9.0
16-
modernc.org/sqlite v1.29.7
16+
modernc.org/sqlite v1.33.1
1717
)
1818

1919
require (
2020
filippo.io/edwards25519 v1.1.0 // indirect
2121
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2222
github.com/dustin/go-humanize v1.0.1 // indirect
23-
github.com/fsnotify/fsnotify v1.7.0 // indirect
23+
github.com/fsnotify/fsnotify v1.8.0 // indirect
2424
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
2525
github.com/golang-sql/sqlexp v0.1.0 // indirect
2626
github.com/google/uuid v1.6.0 // indirect
@@ -32,36 +32,36 @@ require (
3232
github.com/jackc/pgio v1.0.0 // indirect
3333
github.com/jackc/pgpassfile v1.0.0 // indirect
3434
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
35-
github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect
36-
github.com/jackc/pgtype v1.14.3 // indirect
35+
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
36+
github.com/jackc/pgtype v1.14.4 // indirect
3737
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
3838
github.com/magiconair/properties v1.8.7 // indirect
3939
github.com/mattn/go-colorable v0.1.13 // indirect
4040
github.com/mattn/go-isatty v0.0.20 // indirect
4141
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
4242
github.com/mitchellh/mapstructure v1.5.0 // indirect
4343
github.com/ncruces/go-strftime v0.1.9 // indirect
44-
github.com/pelletier/go-toml/v2 v2.2.1 // indirect
44+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
4545
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
4646
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
47-
github.com/sagikazarmark/locafero v0.4.0 // indirect
47+
github.com/sagikazarmark/locafero v0.6.0 // indirect
4848
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
4949
github.com/sourcegraph/conc v0.3.0 // indirect
5050
github.com/spf13/afero v1.11.0 // indirect
51-
github.com/spf13/cast v1.6.0 // indirect
51+
github.com/spf13/cast v1.7.0 // indirect
5252
github.com/spf13/pflag v1.0.5 // indirect
5353
github.com/stretchr/objx v0.5.2 // indirect
5454
github.com/subosito/gotenv v1.6.0 // indirect
5555
go.uber.org/multierr v1.11.0 // indirect
56-
golang.org/x/crypto v0.22.0 // indirect
57-
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
58-
golang.org/x/sys v0.19.0 // indirect
59-
golang.org/x/term v0.19.0 // indirect
60-
golang.org/x/text v0.14.0 // indirect
56+
golang.org/x/crypto v0.29.0 // indirect
57+
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
58+
golang.org/x/sys v0.27.0 // indirect
59+
golang.org/x/term v0.26.0 // indirect
60+
golang.org/x/text v0.20.0 // indirect
6161
gopkg.in/ini.v1 v1.67.0 // indirect
6262
gopkg.in/yaml.v3 v3.0.1 // indirect
63-
modernc.org/gc/v3 v3.0.0-20240304020402-f0dba7c97c2b // indirect
64-
modernc.org/libc v1.49.3 // indirect
63+
modernc.org/gc/v3 v3.0.0-20241004144649-1aea3fae8852 // indirect
64+
modernc.org/libc v1.61.0 // indirect
6565
modernc.org/mathutil v1.6.0 // indirect
6666
modernc.org/memory v1.8.0 // indirect
6767
modernc.org/strutil v1.2.0 // indirect

0 commit comments

Comments
 (0)