Go to file
dependabot[bot] 7d382004f0
chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#50)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 10:19:25 +07:00
.github chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#50) 2024-02-12 10:19:25 +07:00
cmd/update-go-mod build: bump go-github v59 2024-02-10 01:40:57 +07:00
internal/cli build: bump go-github v59 2024-02-10 01:40:57 +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.9 2024-01-10 11:20:39 +07:00
LICENSE chore: add license MIT 2022-07-22 23:01:17 +07:00
Makefile chore: go fix 2023-12-21 03:22:12 +07:00
README.md chore: add badges 2023-09-23 14:11:25 +07:00
go.mod chore(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 (#49) 2024-02-10 01:41:26 +07:00
go.sum chore(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 (#49) 2024-02-10 01:41:26 +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