- 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>
- 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>
- Update `GOFMT` command to include `-s` and `-w` flags
- Remove redundant `DIST` and `DIST_DIRS` definitions
- Remove unused variables and dependencies
- Remove `.PHONY` targets and associated release tasks
- Simplify `clean` target by removing `$(DIST)` directory from the removal list
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Remove `build_linux_arm` target from Makefile
- Remove `make build_linux_arm` step from Docker workflow
- Update Docker workflow to build for `linux/amd64` and `linux/arm64` platforms only
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Rename job from `testing` to `test`
- Add matrix strategy to test on multiple Go versions (1.21, 1.22, 1.23)
- Set up Go environment variables `GO111MODULE` and `GOPROXY`
- Replace `actions/checkout@v4` with `actions/setup-go@v5` for setting up Go
- Add caching for Go build and module directories using `actions/cache@v4`
- Change test command from `make test` to `go test -v -covermode=atomic -coverprofile=coverage.out`
- Add flags to `codecov/codecov-action@v4` for matrix OS and Go version
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- 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>
- Add a new `.hadolint.yaml` configuration file with specific rule ignores
- Update the Dockerfile to install `ca-certificates` without a fixed version
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update CodeQL GitHub Actions from v2 to v3 in codeql.yml
- Change goreleaser argument from `--rm-dist` to `--clean` in goreleaser.yml
- Update golangci-lint GitHub Action from v3 to v5 in lint.yml
- Update the Docker container for linting from golang:1.19-alpine to golang:1.22-alpine in lint.yml
- Standardize quotes around `checksums.txt` in .goreleaser.yaml
- Add changelog configuration with groups for features, bug fixes, enhancements, refactor, build process updates, documentation updates, and others in .goreleaser.yaml
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- 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>
- Update the version of `actions/setup-go` from `v4` to `v5` in the `.github/workflows/docker.yml` file
- Update the version of `actions/setup-go` from `v4` to `v5` in the `.github/workflows/goreleaser.yml` file
- Update the version of `actions/setup-go` from `v4` to `v5` in the `.github/workflows/lint.yml` file
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add a new flag `source.branch` with default value `develop` and usage description "git source branch"
- Add a new struct `Source` with a `Branch` field
- Add a new field `Source` to the existing struct `Build`
- Add a new test case with `Source.Branch` set to "feature/awesome-feature"
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- 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>
- 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>