Skip to content

Commit 323d67a

Browse files
authored
Updating the go version and packages (#40)
* updating the go version to 1.23.7 * mod and sum files after executing go get -u * updating the go version in the github workflow * suppressing the error due to negative serial number in a certificate in go 1.23
1 parent 0b985f6 commit 323d67a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
env:
1515
SQLSERVER_DSN: "sqlserver://127.0.0.1:1433?database=master&user id=sa&password=VippsPw1"
16+
GODEBUG: 'x509negativeserial=1'
1617
steps:
1718
- uses: actions/checkout@v4
1819

1920
- name: Set up Go
2021
uses: actions/setup-go@v5
2122
with:
22-
go-version: '1.22.10'
23+
go-version: '1.23'
2324

2425
- name: Start db
2526
run: docker compose -f docker-compose.test.yml up -d

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/vippsas/sqlcode
22

3-
go 1.18
3+
go 1.23.7
44

55
require (
66
github.com/alecthomas/repr v0.4.0
@@ -20,7 +20,7 @@ require (
2020
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0 // indirect
2121
github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0 // indirect
2222
github.com/davecgh/go-spew v1.1.1 // indirect
23-
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe // indirect
23+
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
2424
github.com/golang-sql/sqlexp v0.1.0 // indirect
2525
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2626
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ github.com/denisenkom/go-mssqldb v0.12.3/go.mod h1:k0mtMFOnU+AihqFxPMiF05rtiDror
1515
github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
1616
github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA=
1717
github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
18-
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY=
1918
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0=
19+
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA=
20+
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0=
2021
github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A=
2122
github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI=
2223
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=

0 commit comments

Comments
 (0)