24 Commits

Author SHA1 Message Date
Bo-Yi Wu 5f9d683257 ci: bump golangci-lint to v2.12
- Upgrade golangci-lint version from v2.11 to v2.12
2026-05-08 20:13:39 +08:00
Bo-Yi Wu 66afccb389 ci(actions): bump trivy-action to v0.36.0 and codecov-action to v6 2026-04-25 16:51:02 +08:00
Bo-Yi Wu d7493e77f5 ci: add trivy workflow and gate docker push on image scan 2026-04-16 23:00:58 +08:00
Bo-Yi Wu 1917781d94 ci: enable check-latest in docker and goreleaser workflows 2026-04-16 22:42:42 +08:00
Bo-Yi Wu c08c2995d2 ci: enable check-latest for setup-go to fetch newest patch 2026-04-16 21:15:35 +08:00
Bo-Yi Wu 55f880d64f ci: pin golangci-lint to v2.11 2026-04-16 21:11:11 +08:00
Bo-Yi Wu 983705ffd7 ci: bump GitHub Actions and add Go 1.25/1.26 to test matrix 2026-04-16 21:03:21 +08:00
appleboy 1bdf20515c ci: update golangci-lint workflow to use latest action and linter
- Update golangci-lint GitHub Action from v7 to v8 and set linter version to v2.1

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-07-05 20:28:04 +08:00
appleboy 691536f46b ci: revise golangci-lint configuration and update versioning
- Update golangci-lint-action used version from `v6` to `v7`
- Set specific golangci-lint version to `v2.0` instead of latest
- Remove `run` section with timeout setting in `.golangci.yaml`
- Eliminate multiple linters (`errcheck`, `gci`, `gofmt`, `goimports`) from `.golangci.yaml`
- Change `linters-settings` to `settings` in `.golangci.yaml`
- Add `int-conversion: true` to `perfsprint` settings
- Add new exclusion settings for generated code, preset rules, and specific paths under `exclusions` in `.golangci.yaml`
- Incorporate formatter settings with enabled formatters and exclusions for certain paths in `.golangci.yaml`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-04-11 23:35:39 +08:00
appleboy c84a5276cb ci: rename lint workflow to testing for clarity and consistency
- Rename the lint workflow file to testing.

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-08 17:16:18 +08:00
appleboy e344b3ec67 ci: add webhook environment variables to lint workflow
- Add environment variables for `WEBHOOK_ID` and `WEBHOOK_TOKEN` in the lint workflow.

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-08 17:16:02 +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 01518e5a92 style: refactor codebase for consistency and performance improvements
- Change single quotes to double quotes in the custom funding URL

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-10-10 02:22:19 +08:00
appleboy 7478381b56 ci: refactor and optimize backend API handling
- Update Docker login action to use version 3 instead of version 2

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-10-10 02:21:59 +08:00
appleboy e17a1e9920 ci: streamline build process for multi-architecture support
- 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>
2024-10-06 09:46:49 +08:00
appleboy 51f0b338c5 ci: enhance CI pipeline for Go projects
- 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>
2024-10-04 21:06:18 +08:00
appleboy d80fc1adb6 chore: update CI workflows and dependencies
- Update `docker/build-push-action` to version 6
- Update `goreleaser/goreleaser-action` to version 6

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-06-28 21:55:35 +08:00
Bo-Yi Wu 1b92a095c1 ci: update GitHub Actions lint workflow configuration
- Update the golangci-lint-action version from `v5` to `v6` in the GitHub Actions lint workflow

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-05-16 16:14:33 +08:00
Bo-Yi Wu 59b6fbbaf2 ci: enhance CI workflows and test robustness
- Update the Codecov action version from `v3` to `v4` in the lint workflow

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-04-29 15:24:01 +08:00
Bo-Yi Wu 6dc40cfa7f chore: update build and linting configurations
- 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>
2024-04-29 15:21:46 +08:00
appleboy 3f344cdf2e chore: update version of actions/setup-go in GitHub workflows
- 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>
2023-12-24 19:12:48 +08:00
appleboy f3724e17a2 chore(CI): setup tool
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-09-24 19:33:42 +08:00
appleboy cb38b0a194 chore(CI): bump version
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-09-24 19:28:05 +08:00
appleboy 6d07c7dd06 chore: add github actions
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-09-24 18:59:04 +08:00