Commit Graph

16 Commits

Author SHA1 Message Date
Bo-Yi Wu 48e0d07f39
ci: update Go versions and CI workflows
- Update supported Go versions in GitHub Actions workflow to 1.18, 1.19, "1.20", 1.21, and 1.22, removing older versions 1.14, 1.15, 1.16, and 1.17

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu a2c0537cb3
ci: update CI workflows and dependencies
- Standardize cron syntax to use double quotes in codeql.yml
- Update CodeQL action to version 3 in codeql.yml
- Standardize Go version syntax to use double quotes in go.yml
- Update golangci-lint-action to version 4 in go.yml
- Update actions/cache to version 4 in go.yml
- Update codecov-action to version 4 in go.yml
- Standardize wildcard syntax to use double quotes in goreleaser.yml
- Remove unnecessary newlines in goreleaser.yml
- Update Go version to use semver range in goreleaser.yml

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu ad67ad1bfb
chore: update GitHub actions and dependencies
- Update the GitHub codeql-action/init from v2 to v3

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu 2a746dee93
chore: update GitHub Actions versions in workflow files
- Update the version of `actions/checkout` from v3 to v4 in `.github/workflows/codeql.yml`
- Update the version of `actions/setup-go` from v3 to v5 in `.github/workflows/go.yml`
- Update the version of `actions/checkout` from v3 to v4 in `.github/workflows/go.yml`
- Update the version of `actions/setup-go` from v3 to v5 in `.github/workflows/go.yml`
- Update the version of `actions/checkout` from v3 to v4 in `.github/workflows/goreleaser.yml`
- Update the version of `actions/setup-go` from v2 to v5 in `.github/workflows/goreleaser.yml`
- Update the version of `goreleaser/goreleaser-action` from v3 to v5 in `.github/workflows/goreleaser.yml`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi.Wu 087449607c
chore(CI): add go1.20 version
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi.Wu db264bd32c
chore: Add go 1.19 and upgrade lint version to v1.49
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
dependabot[bot] 76c2495f7f
chore(deps): bump goreleaser/goreleaser-action from 2 to 3
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu cd3f75b68c
chore(CD): enable goreleaser config.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
dependabot[bot] a476d0bf78
chore(deps): bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu 8c4fd211e2
chore(github): upgrade action package.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu cd348215ef
chore(CI/CD): add dependabot
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu 4779c447f0
chore(CI/CD): remove macos-latest testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu a16b37a264
chore: upgrade checkout version to v3
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu faf596eb66
feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:53 +08:00
Bo-Yi Wu f6388b32d6
chore(lint): upgrade /golangci-lint to v1.43.0
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:19:12 +08:00
Bo-Yi Wu 651b99ac00
chore: switch travis to github actions.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:18:14 +08:00