mirror of
https://github.com/containrrr/watchtower.git
synced 2026-02-15 03:38:06 +01:00
chore(deps): bump go/stdlib to v1.23.x and update go modules
- Upgraded `go.mod` to use Go 1.23 and updated module dependencies to latest versions - Refactored code to align with API changes in Docker and related modules: - Updated `ContainerListOptions` to `container.ListOptions` and related structs - Replaced `types.ImageDeleteResponseItem` with `image.DeleteResponse` for compatibility - Modified `ImagePullOptions` and `ContainerRemoveOptions` to updated package paths
This commit is contained in:
parent
76f9cea516
commit
e0cbe337d7
9 changed files with 216 additions and 169 deletions
8
.github/workflows/pull-request.yml
vendored
8
.github/workflows/pull-request.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.x
|
||||
go-version: 1.23.x
|
||||
- uses: dominikh/staticcheck-action@ba605356b4b29a60e87ab9404b712f3461e566dc #v1.3.0
|
||||
with:
|
||||
version: "2023.1.6"
|
||||
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
go-version:
|
||||
- 1.20.x
|
||||
- 1.23.x
|
||||
platform:
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.x
|
||||
go-version: 1.23.x
|
||||
- name: Run tests
|
||||
run: |
|
||||
go test -v -coverprofile coverage.out -covermode atomic ./...
|
||||
|
|
@ -62,7 +62,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.x
|
||||
go-version: 1.23.x
|
||||
- name: Build
|
||||
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 #v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue