Skip to content

Commit 345d290

Browse files
authored
Merge pull request containers#46 from rmiki-dev/gomod-update
chore: update go version in go.mod for modern langauge features
2 parents e3e4b02 + f89a8dc commit 345d290

4 files changed

Lines changed: 64 additions & 212 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v6
1515
- uses: actions/setup-go@v6
1616
with:
17-
go-version: "1.23"
17+
go-version: "1.25"
1818
- name: Install dependencies
1919
run: |
2020
sudo apt-get update

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ tools: .install.golangci-lint
4949

5050
.install.golangci-lint:
5151
if [ ! -x "$(GOBIN)/golangci-lint" ]; then \
52-
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/main/install.sh | sh -s -- -b $(GOBIN) v1.62.2; \
52+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/main/install.sh | sh -s -- -b $(GOBIN) v2.10.1; \
5353
fi
5454

5555
clean:

go.mod

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
11
module github.com/containers/tar-diff
22

3-
go 1.14
3+
go 1.25
44

55
require (
6-
github.com/containers/image/v5 v5.4.3
7-
github.com/klauspost/compress v1.10.4
6+
github.com/containers/image/v5 v5.36.2
7+
github.com/klauspost/compress v1.18.4
8+
)
9+
10+
require (
11+
github.com/containers/storage v1.59.1 // indirect
12+
github.com/docker/go-units v0.5.0 // indirect
13+
github.com/json-iterator/go v1.1.12 // indirect
14+
github.com/klauspost/pgzip v1.2.6 // indirect
15+
github.com/moby/sys/capability v0.4.0 // indirect
16+
github.com/moby/sys/mountinfo v0.7.2 // indirect
17+
github.com/moby/sys/user v0.4.0 // indirect
18+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
19+
github.com/modern-go/reflect2 v1.0.2 // indirect
20+
github.com/opencontainers/go-digest v1.0.0 // indirect
21+
github.com/opencontainers/runtime-spec v1.3.0 // indirect
22+
github.com/sirupsen/logrus v1.9.4 // indirect
23+
github.com/ulikunitz/xz v0.5.15 // indirect
24+
github.com/vbatts/tar-split v0.12.2 // indirect
25+
golang.org/x/sys v0.41.0 // indirect
826
)

0 commit comments

Comments
 (0)