Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit fa51192

Browse files
committed
Lint, then format
1 parent a09affb commit fa51192

File tree

3 files changed

+80
-101
lines changed

3 files changed

+80
-101
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,14 @@ test: build
3636
@go test -v ./...
3737

3838
.PHONY: tag
39-
tag: format lint build test
39+
tag: lint format build test
4040
@git tag -a v${VERSION} -m "v${VERSION}"
4141
@echo "Now git push --tags to create a release."
4242

4343
.PHONY: deps
4444
deps:
4545
@go get -u ./...
46+
47+
.PHONY: tidy
48+
tidy:
49+
@go mod tidy

go.mod

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
11
module github.com/retiman/homekeeper
22

3-
go 1.20
3+
go 1.22.0
4+
5+
toolchain go1.22.2
46

57
require (
68
github.com/apsdehal/go-logger v0.0.0-20190515212710-b0d6ccfee0e6
7-
github.com/go-git/go-git/v5 v5.11.0
8-
github.com/otiai10/copy v1.12.0
9-
github.com/spf13/cobra v1.7.0
10-
github.com/stretchr/testify v1.8.4
9+
github.com/go-git/go-git/v5 v5.12.0
10+
github.com/otiai10/copy v1.14.0
11+
github.com/spf13/cobra v1.8.1
12+
github.com/stretchr/testify v1.9.0
1113
gopkg.in/yaml.v3 v3.0.1
1214
)
1315

1416
require (
15-
dario.cat/mergo v1.0.0 // indirect
16-
github.com/Microsoft/go-winio v0.6.1 // indirect
17-
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
18-
github.com/cloudflare/circl v1.3.7 // indirect
19-
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
17+
dario.cat/mergo v1.0.1 // indirect
18+
github.com/Microsoft/go-winio v0.6.2 // indirect
19+
github.com/ProtonMail/go-crypto v1.1.3 // indirect
20+
github.com/cloudflare/circl v1.5.0 // indirect
21+
github.com/cyphar/filepath-securejoin v0.3.5 // indirect
2022
github.com/davecgh/go-spew v1.1.1 // indirect
2123
github.com/emirpasic/gods v1.18.1 // indirect
2224
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
23-
github.com/go-git/go-billy/v5 v5.5.0 // indirect
24-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
25+
github.com/go-git/go-billy/v5 v5.6.0 // indirect
26+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
2527
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2628
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
2729
github.com/kevinburke/ssh_config v1.2.0 // indirect
2830
github.com/pjbgf/sha1cd v0.3.0 // indirect
2931
github.com/pmezard/go-difflib v1.0.0 // indirect
30-
github.com/sergi/go-diff v1.3.1 // indirect
31-
github.com/skeema/knownhosts v1.2.1 // indirect
32+
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
33+
github.com/skeema/knownhosts v1.3.0 // indirect
3234
github.com/spf13/pflag v1.0.5 // indirect
3335
github.com/xanzy/ssh-agent v0.3.3 // indirect
34-
golang.org/x/crypto v0.17.0 // indirect
35-
golang.org/x/mod v0.12.0 // indirect
36-
golang.org/x/net v0.19.0 // indirect
37-
golang.org/x/sys v0.15.0 // indirect
38-
golang.org/x/tools v0.13.0 // indirect
36+
golang.org/x/crypto v0.30.0 // indirect
37+
golang.org/x/net v0.32.0 // indirect
38+
golang.org/x/sync v0.10.0 // indirect
39+
golang.org/x/sys v0.28.0 // indirect
3940
gopkg.in/warnings.v0 v0.1.2 // indirect
4041
)

0 commit comments

Comments
 (0)