Skip to content

Commit 218aa3b

Browse files
committed
Deprecation fixes
1 parent 865d337 commit 218aa3b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/go.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616

1717
- name: Set up Go
18-
uses: actions/setup-go@v2
18+
uses: actions/setup-go@v3
1919
with:
20-
go-version: 1.17
20+
go-version: 1.19
2121

2222
- name: Build
2323
run: go build -v ./...
@@ -29,6 +29,6 @@ jobs:
2929
name: lint
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333
- name: golangci-lint
34-
uses: golangci/golangci-lint-action@v2
34+
uses: golangci/golangci-lint-action@v3

dockerexec.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ type Cmd struct {
8787
closeAfterOutput []io.Closer
8888
goroutine []func() error
8989
errch chan error // one send per goroutine
90-
waitCh <-chan container.ContainerWaitOKBody
90+
waitCh <-chan container.WaitResponse
9191
waitErrCh <-chan error
9292
waitDone chan struct{}
9393
}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/segevfiner/dockerexec
22

3-
go 1.17
3+
go 1.19
44

55
require (
66
github.com/docker/docker v23.0.1+incompatible

0 commit comments

Comments
 (0)