Skip to content

Commit bc860b6

Browse files
authored
Merge pull request #229 from wipsel/203-upgrade-to-g0-1-23
Upgrade to go 1.23
2 parents 5c05450 + 6eccbcc commit bc860b6

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.21
21+
go-version: 1.23
2222

2323
- name: Install linter
2424
run: make install_lint
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Go
3535
uses: actions/setup-go@v3
3636
with:
37-
go-version: 1.21
37+
go-version: 1.23
3838

3939
- name: Install dependencies
4040
run: make install
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up Go
5757
uses: actions/setup-go@v3
5858
with:
59-
go-version: 1.21
59+
go-version: 1.23
6060

6161
- name: Build amd64
6262
run: make build_amd64
@@ -69,7 +69,7 @@ jobs:
6969
- name: Set up Go
7070
uses: actions/setup-go@v3
7171
with:
72-
go-version: 1.21
72+
go-version: 1.23
7373

7474
- name: Build arm64
7575
run: make build_arm64

.golangci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ linters:
1010
- errchkjson
1111
- errname
1212
- errorlint
13-
- execinquery
1413
- exhaustive
1514
- exportloopref
1615
- forcetypeassert
@@ -19,7 +18,7 @@ linters:
1918
- gocritic
2019
- godot
2120
- godox
22-
- goerr113
21+
- err113
2322
- goprintffuncname
2423
- govet
2524
- ineffassign

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ VERSION=$(shell git describe --always --tags --dirty)
44
LDFLAGS=-ldflags "-s -w -X main.Version=${VERSION}"
55
TEST=$(shell go list ./... | grep -v /onnx/)
66

7-
BUILD_PARAMS=CGO_ENABLED=0 ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.21
7+
BUILD_PARAMS=CGO_ENABLED=0
88

99

1010
define echotask
@@ -33,7 +33,7 @@ lint: ## Run various linters.
3333

3434
test: ## Run tests using gotestsum.
3535
@ ${BUILD_PARAMS} gotestsum \
36-
--format=dots -- \
36+
--format=dots-v2 -- \
3737
-timeout=30000ms \
3838
-covermode=set \
3939
-coverprofile=.coverage.out ${TEST}

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
module github.com/advancedclimatesystems/gonnx
22

3-
go 1.21
3+
go 1.23
44

55
require (
6+
github.com/pkg/errors v0.9.1
67
github.com/stretchr/testify v1.8.1
78
google.golang.org/protobuf v1.31.0
89
gorgonia.org/tensor v0.9.24
@@ -16,7 +17,6 @@ require (
1617
github.com/gogo/protobuf v1.3.2 // indirect
1718
github.com/golang/protobuf v1.5.3 // indirect
1819
github.com/google/flatbuffers v23.5.26+incompatible // indirect
19-
github.com/pkg/errors v0.9.1 // indirect
2020
github.com/pmezard/go-difflib v1.0.0 // indirect
2121
github.com/xtgo/set v1.0.0 // indirect
2222
go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect

0 commit comments

Comments
 (0)