Skip to content

Commit cdcbec7

Browse files
committed
Downgrade Go to 1.23
1 parent 59f0564 commit cdcbec7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
submodules: recursive
1818
- uses: actions/setup-go@v4
1919
with:
20-
go-version: "1.25"
20+
go-version: "1.23"
2121
- name: Lint
2222
uses: golangci/golangci-lint-action@v8
2323
with:

go.mod

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

3-
go 1.25
3+
go 1.23
44

55
require github.com/stretchr/testify v1.8.4
66

nexus/operation_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func startOperation(
7979
options StartOperationOptions,
8080
) (HandlerStartOperationResult[any], error) {
8181
t.Helper()
82-
ctx := WithHandlerContext(t.Context(), HandlerInfo{
82+
ctx := WithHandlerContext(context.Background(), HandlerInfo{
8383
Service: svc.Name,
8484
Operation: op.Name(),
8585
Header: options.Header,
@@ -96,7 +96,7 @@ func cancelOperation(
9696
options CancelOperationOptions,
9797
) error {
9898
t.Helper()
99-
ctx := WithHandlerContext(t.Context(), HandlerInfo{
99+
ctx := WithHandlerContext(context.Background(), HandlerInfo{
100100
Service: svc.Name,
101101
Operation: op.Name(),
102102
Header: options.Header,

0 commit comments

Comments
 (0)