c91c4b7cd8
feat: improve template error handling ( #4256 )
...
- wrap the multiple errors in an internal error with cleaner messaging
- improve testlib.RequireTemplateError and several tests
2023-08-24 22:06:12 -03:00
a6e6e7098d
feat(deps): update env to v9
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2023-06-28 16:29:19 +00:00
137ed3be74
feat(deps): update caarlos0/env to v8
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2023-04-07 01:50:09 +00:00
f544c5ce69
test: testctx pkg ( #3807 )
...
alternative to #3806
the idea is that both `context.New` and `context.Context{}` are never
used in tests.
not sure yet how much I like it, so far code does look a bit more
readable though.
---------
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2023-03-02 00:01:11 -03:00
acc9eea154
feat(deps): update env to v7 ( #3814 )
...
env v7!
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2023-03-01 01:20:37 -03:00
47ce9a9b33
fix: only fail announcing phase in the end ( #3666 )
...
This prevents one announce failure to skip all other announcers.
The release will still report a failure in the end, but will not fail in
the first failure.
Also improved errors messages a little bit.
closes #3663
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-12-28 12:24:21 -03:00
8cb4eb1654
fix: ruleguard and semgrep scans and fixes ( #3364 )
...
run semgrep-go ruleguard and semgrep scans
https://github.com/dgryski/semgrep-go
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-09-11 15:32:23 -03:00
fe7e2123bd
feat: replacing the log library ( #3139 )
...
* feat: replacing logs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: tests et al
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* feat: update termenv/lipgloss
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* wip: output
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: pin dep
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: tests
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: tests
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: deps
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: dep
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-21 21:11:15 -03:00
339bcabbb5
feat: add generic webhook announcer ( #2750 )
2022-01-08 14:46:27 -03:00