Ahmet Alp Balkan
860e09775b
refactor: modernize Go codebase for Go 1.25 ( #473 )
...
Modernize the codebase to use idiomatic Go 1.25 patterns, removing deprecated APIs and reducing external dependencies.
- Replace deprecated `io/ioutil` with `os.ReadFile`, `os.WriteFile`, `os.MkdirTemp`, `os.CreateTemp`
- Replace `interface{}` with `any` (Go 1.18+)
- Remove `github.com/pkg/errors` dependency entirely, using stdlib `fmt.Errorf` with `%w` and `errors.New`
- Use `errors.As()` instead of direct type assertions on error values
- Use `strings.Cut()` for delimiter parsing instead of `strings.Split` + length check
- Use `slices.Contains()` for linear search in `ContextExists()`
- Use `t.Setenv()` and `t.TempDir()` in tests instead of manual env save/restore and temp dir cleanup
- Delete unused `internal/testutil/tempfile.go` helper
- Update GitHub Actions CI and release workflows from Go 1.22 to 1.25
Net result: -70 lines, 1 fewer external dependency.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 17:07:59 -07:00
dependabot[bot]
58ae4f7464
chore(deps): bump goreleaser/goreleaser-action from 2 to 7 ( #467 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 16:08:44 -07:00
dependabot[bot]
6f89971cc4
chore(deps): bump actions/setup-go from 2 to 6 ( #465 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 16:08:37 -07:00
dependabot[bot]
c22e1bce9c
chore(deps): bump actions/cache from 4 to 5 ( #463 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 16:04:59 -07:00
Ahmet Alp Balkan
5a29645996
fix(ci): upgrade actions/cache from v2 to v4 ( #460 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 13:46:29 -07:00
Suleiman Dibirov
561793c356
chore: upgrade Go version to 1.22 ( #425 )
2024-07-10 14:25:37 -07:00
Marcos Alano
8fb8c9f2f2
Add support to publish Snaps using goreleaser ( #353 )
...
Closes #351 .
2023-12-25 00:28:51 -08:00
Ahmet Alp Balkan
33c27c03b2
k8s.io & go version bump ( #393 )
2023-07-13 20:10:47 -07:00
Ahmet Alp Balkan
d8ff2847ba
fix go.sum tidy
...
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com >
2023-02-24 12:03:11 -08:00
Gábor Lipták
e6de7ba0a2
Run Go 1.17 mod tiny ( #336 )
2022-01-10 21:00:11 -08:00
Ahmet Alp Balkan
617e4f0562
add build cache to actions ( #339 )
2021-12-26 21:50:17 -08:00
Gábor Lipták
f123e3864e
Bump Go to 1.17 in GHA ( #335 )
2021-11-27 10:47:19 -08:00
Ahmet Alp Balkan
3504e66edb
Provide binary release for darwin/arm64
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2021-02-26 11:34:03 -08:00
Ahmet Alp Balkan
1e49c336fc
Add license headers for 2021
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2020-12-29 13:38:42 -08:00
Gábor Lipták
a8a63da51c
Bump CI to Go 1.15 ( #266 )
2020-09-25 13:25:03 -07:00
Ahmet Alp Balkan
fc21b8c522
Update readme, update bats setup
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2020-04-29 13:45:40 -07:00
Ahmet Alp Balkan
e5024778a9
Add integration tests to CI workflow
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2020-04-29 13:40:11 -07:00
Ahmet Alp Balkan
d669862436
Update CI workflow name
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2020-04-29 13:30:55 -07:00
Ahmet Alp Balkan
7f3f0699b3
Extend CI workflow with gofmt
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2020-04-29 13:28:12 -07:00
Ahmet Alp Balkan
3c9c44842c
Extend CI workflow by adding tests
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2020-04-29 13:22:42 -07:00
Ahmet Alp Balkan
0491ac552e
Add goreleaser and github workflows
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com >
2020-04-29 13:18:14 -07:00