22 Commits

Author SHA1 Message Date
appleboy 7678d611f9 chore: update and streamline dependency management
- Bump github.com/urfave/cli/v2 to v2.27.7
- Update indirect dependencies: github.com/Masterminds/semver/v3, github.com/Masterminds/sprig/v3, github.com/cpuguy83/go-md2man/v2, github.com/spf13/cast, golang.org/x/crypto, and golang.org/x/sys to newer versions
- Replace github.com/imdario/mergo with dario.cat/mergo as an indirect dependency

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-07-05 20:27:24 +08:00
appleboy d661b29efe feat: add debug mode for plugin configuration dumping
- Add a new dependency for godump in go.mod
- Import godump in main.go
- Introduce a debug flag in the CLI options
- Update the run function to include the debug flag
- Add logic to dump the plugin configuration if debug mode is enabled
- Extend the plugin struct to include a debug field

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-08 22:37:30 +08:00
appleboy 223b0aa14f chore: upgrade Go version and dependencies in workflow settings
- Update Go version from 1.20 to 1.23.0
- Change Go versions in the workflow from 1.21, 1.22, 1.23 to 1.23, 1.24
- Upgrade Codecov action from version 4 to version 5
- Update indirect dependencies for golang.org/x/crypto and golang.org/x/sys to newer versions

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-08 16:22:17 +08:00
appleboy 5e71b59c72 chore: upgrade dependencies and refine CLI configuration
- Update `github.com/stretchr/testify` from version `1.9.0` to `1.10.0`
- Update `github.com/urfave/cli` to version `v2.27.6` and change import path to include `/v2`
- Update `github.com/cpuguy83/go-md2man/v2` from version `2.0.4` to `2.0.5`
- Add `github.com/xrash/smetrics` as a new indirect dependency
- Change `cli.Author` to use a pointer type
- Update environment variable fields in multiple `cli.StringFlag` definitions to use `EnvVars` instead of `EnvVar`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-08 16:20:27 +08:00
appleboy 2e8d61dcf2 chore: update dependencies to latest versions
- Update `github.com/huandu/xstrings` from v1.4.0 to v1.5.0
- Update `golang.org/x/crypto` from v0.22.0 to v0.24.0
- Update `golang.org/x/sys` from v0.19.0 to v0.21.0

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-06-28 22:03:48 +08:00
Bo-Yi Wu 7e5539d30c chore: update dependencies to latest versions
- Update `github.com/stretchr/testify` to version `1.9.0`
- Update `github.com/urfave/cli` to version `1.22.15`
- Update `github.com/cpuguy83/go-md2man/v2` to version `2.0.4`
- Update `github.com/google/uuid` to version `1.6.0`
- Update `github.com/shopspring/decimal` to version `1.4.0`
- Update `golang.org/x/crypto` to version `0.22.0`
- Update `golang.org/x/sys` to version `0.19.0`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-04-29 15:20:48 +08:00
appleboy af8276f8fa chore: update dependencies to latest versions
- Update the version of `github.com/cpuguy83/go-md2man/v2` from `v2.0.2` to `v2.0.3`
- Update the version of `github.com/google/uuid` from `v1.3.1` to `v1.5.0`
- Update the version of `github.com/sirupsen/logrus` from `v1.8.1` to `v1.9.3`
- Update the version of `github.com/spf13/cast` from `v1.5.1` to `v1.6.0`
- Update the version of `golang.org/x/crypto` from `v0.13.0` to `v0.17.0`
- Update the version of `golang.org/x/sys` from `v0.12.0` to `v0.15.0`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-12-24 19:03:27 +08:00
appleboy 2586433815 chore: update dependency
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-09-24 21:55:01 +08:00
appleboy 9d765d231b chore(go): bump dependency version
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-09-24 19:30:56 +08:00
Bo-Yi Wu e282060e04 chore: update Go version and dependencies
- Update Go version from 1.13 to 1.20
- Update dependencies: godotenv to v1.5.1, testify to v1.8.2, and urfave/cli to v1.22.13
- Add several new indirect dependencies

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-05-24 08:57:46 +08:00
Bo-Yi Wu 2830e39260 chore: update go module
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-04 15:12:06 +08:00
Bo-Yi Wu d4b1c86367 chore: update drone-template-lib module
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-04 15:06:56 +08:00
Bo-Yi Wu 52b70e4a89 chore: updae drone template library
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-03 10:59:33 +08:00
Bo-Yi Wu f6c3df01ff chore: update go module
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-06-18 08:51:38 +08:00
Bo-Yi Wu 30be2b99d7 update build time format
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-07-23 12:16:10 +08:00
Bo-Yi Wu cfc2d80805 chore: upgrade go module 2020-03-26 23:26:09 +08:00
Bo-Yi Wu cfd3725c9a chore: replace template library 2019-10-11 20:42:10 +08:00
Bo-Yi Wu 851c23f7fa chore: upgrade go module 2019-10-04 20:58:06 +08:00
Bo-Yi Wu 98665b9a28 feat: update go module version 2019-03-24 21:59:50 +08:00
Bo-Yi Wu e88ca34689 feat: build in go1.12 2019-03-24 21:50:44 +08:00
Bo-Yi Wu 8c686df3d6 refactor(module): remove unused dependency.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-01-08 12:10:16 +08:00
Bo-Yi Wu f4b7d4dd24 feat: support go module 2018-11-10 10:44:49 +08:00