Go to file
dependabot[bot] e31329c97d chore(deps): bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 10:06:35 +07:00
.github chore(deps): bump actions/setup-go from 4 to 5 2023-12-07 10:06:35 +07:00
cmd/update-go-mod build: bump go-github v57 2023-12-02 14:58:19 +07:00
internal/cli build: bump go-github v57 2023-12-02 14:58:19 +07:00
.deps feat: ignore containing modules 2022-08-24 23:04:42 +07:00
.gitignore feat: update go.mod 2022-07-22 21:09:34 +07:00
.golangci.yml chore: sync golangci-lint 2023-06-29 10:46:34 +07:00
.goreleaser.yml chore: update github action 2022-08-16 10:50:36 +07:00
CHANGELOG.md chore(changelog): generate v0.6.7 2023-11-29 23:48:09 +07:00
LICENSE chore: add license MIT 2022-07-22 23:01:17 +07:00
Makefile chore: update make 2023-02-26 00:09:09 +07:00
README.md chore: add badges 2023-09-23 14:11:25 +07:00
go.mod chore(deps): bump github.com/urfave/cli/v2 from 2.25.7 to 2.26.0 2023-12-04 14:34:22 +07:00
go.sum chore(deps): bump github.com/urfave/cli/v2 from 2.25.7 to 2.26.0 2023-12-04 14:34:22 +07:00

README.md

update-go-mod

Go Latest Version

Only upgrade specific subset not all modules.

Install

Should use Go version >= 1.16:

go install github.com/haunt98/update-go-mod/cmd/update-go-mod@latest

Usage

Create local file .deps (example) or use url depends on your use case:

# Default read from .deps
update-go-mod

# Read from URL
update-go-mod --deps-url "https://example.txt"

# Don't do anything
update-go-mod --dry-run

# Take a look
# Require GitHub access token in ~/.netrc
update-go-mod overlook

Thanks