Commit Graph

49 Commits

Author SHA1 Message Date
Bo-Yi Wu 8ab47c694e
ci(lint): update tooling and workflows for consistency (#3834)
* chore: update tooling and workflows for consistency

- Update the version of a tool in the GitHub workflow from `v1.52.2` to `v1.55.2`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: refactor linter configuration in CI

- Remove the `depguard` linter from the `.golangci.yml` configuration

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* ci: refine CI workflow and test configurations

- Disable caching in the GitHub Actions workflow for `gin.yml`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* refactor: refactor return logic in tree operations

- Modify multiple return statements in `tree.go` to return a specific value instead of nothing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-01 11:03:26 +08:00
dependabot[bot] 857db39f82
chore(deps): bump github/codeql-action from 2 to 3 (#3806)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [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/v2...v3)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 08:18:57 +08:00
Bo-Yi Wu 160c1730ef
chore: update GitHub Actions configuration (#3792)
- Change the cron schedule from `'0 17 * * 5'` to `"0 17 * * 5"` in the file `.github/workflows/codeql.yml`
- Change the value of `language` from `['go']` to `["go"]` in the file `.github/workflows/codeql.yml`
- Change the value of `go-version` from `'^1.18'` to `"^1.18"` in the file `.github/workflows/gin.yml`
- Add `1.21` to the list of `go` versions and change the value of `test-tags` in the file `.github/workflows/gin.yml`
- Change the value of `if` condition from `matrix.go-version == '1.20.x'` to `matrix.go-version == '1.21.x'` in the file `.github/workflows/gin.yml`
- Change the value of `on` from `'*'` to `"*"` in the file `.github/workflows/goreleaser.yml`
- Change the name of the job from `name: Checkout` to `name: Checkout` in the file `.github/workflows/goreleaser.yml`
- Change the name of the job from `name: Set up Go` to `name: Set up Go` in the file `.github/workflows/goreleaser.yml`
- Change the value of `go-version` from `1.20` to `"^1"` in

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-01-19 00:35:08 +08:00
dependabot[bot] 811f271a04
chore(deps): bump goreleaser/goreleaser-action from 4 to 5 (#3721)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 10:27:57 +08:00
dependabot[bot] 081b36ebdb
chore(deps): bump actions/setup-go from 4 to 5 (#3798)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 10:27:25 +08:00
dependabot[bot] c2ba8f19ec
chore(deps): bump actions/checkout from 3 to 4 (#3712)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 22:18:00 +08:00
dependabot[bot] e32b5e3a47
chore(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.7.0 (#3703)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-27 16:58:10 +08:00
Richard d4a64265f2
chore(CI): update release args (#3595) 2023-06-05 09:52:39 +08:00
dependabot[bot] 9f5ecd4be4
chore(deps): bump actions/setup-go from 3 to 4 (#3543)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 11:50:31 +08:00
Hiroki Nakano 6bdc725c8d
Fix typos in ISSUE_TEMPLATE.md (#3616) 2023-05-26 11:45:46 +08:00
Bo-Yi Wu 757a638b7b
chore: improve linting, testing, and GitHub Actions setup (#3583)
- Update golangci-lint version from `v1.48.0` to `v1.52.2`
- Remove Gitter notifications from GitHub Actions workflow
- Add gosec linter settings and include specific rules
- Exclude revive linter for test files
- Remove Gitter badge from README.md
- Delete codecov.yml file
- Change function parameter name in fs.go
- Remove unused parameter in defaultHandleRecovery function

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-04-26 14:13:56 +08:00
thinkerou 1e1f0b1e76
chore: support min go version 1.18 (#3511)
* chore: min go version 1.18

* fix build tag error

* remove build tag

* fix word

* remove any.go

* replace interface{} instead of any
2023-03-01 10:03:48 +08:00
mstmdev bd82c9e351
chore(go): Add support go 1.20 (#3484)
* chore(go): Add support go 1.20

* Surround the go version parameters with single quotes

* chore(deps): bump github.com/bytedance/sonic from v1.7.0 to v1.7.1
2023-02-12 13:01:05 +08:00
dependabot[bot] ea17875035
chore(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#3478)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 19:53:10 +08:00
dependabot[bot] 483ac2a63b
chore(deps): bump goreleaser/goreleaser-action from 3 to 4 (#3441)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 14:43:06 +08:00
dependabot[bot] 8fe209a447
chore(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#3399)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 22:38:19 +08:00
dependabot[bot] b682b8a54e
chore(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#3372)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 19:53:33 +08:00
mstmdev 4c64f1c385
chore(go): Add support go 1.19 (#3272) 2022-10-16 09:33:26 +08:00
mstmdev 6296175f70
Fix the GO-2022-0969 and GO-2022-0288 vulnerabilities (#3333) 2022-10-12 14:18:12 +08:00
dependabot[bot] 6fab4c373e
chore(deps): bump actions/setup-go from 2 to 3 (#3340)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-11 15:39:38 +08:00
Alex fb13e822a4
Update gin.yml (#3304)
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>

Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2022-08-31 14:33:25 +08:00
Aoang de17fb1a33
Format with Go 1.19 formatter (#3277)
* Format with Go 1.19 formatter

This allows the GoDoc to take advantage of new markup syntax introduced in Go 1.19. This does not require that our minimum supported version be bumped to Go 1.19 since the pkgsite renders our godoc regardless of supported Go version.

* Add Format check
2022-08-17 07:14:19 +08:00
thinkerou b04917c53e
chore: upgrade golangci-lint and fix golangci-lint error (#3278) 2022-08-15 21:38:20 +08:00
Rainshaw 8374ed2268
feat: add sonic json support (#3184)
* feat: add sonic json support

* fix: add blank line in readme
2022-08-02 10:20:59 +08:00
thinkerou 6de2245e62
switch min version of go to 1.15 (#3211) 2022-06-27 07:11:41 +08:00
dependabot[bot] 5fa34529ae
chore(deps): bump goreleaser/goreleaser-action from 2 to 3 (#3163)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 07:25:47 +08:00
Bo-Yi Wu 60e24d5690
chore(CI/CD): add go version release flow (#3159)
* chore(CI/CD): add go version release flow

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: bump to v1.8.0

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-28 15:23:00 +08:00
dependabot[bot] f1e942889a
chore(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#3150)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 22:27:27 +08:00
dependabot[bot] 90e7073d56
chore(deps): bump github/codeql-action from 1 to 2 (#3132)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 08:51:13 +08:00
dependabot[bot] 696d37e030
chore(deps): bump codecov/codecov-action from 2 to 3 (#3117)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-17 14:16:17 +08:00
dependabot[bot] 493b12482b
chore(deps): bump actions/setup-go from 2 to 3 (#3118)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-17 14:15:53 +08:00
dependabot[bot] 205bb8151c
chore(deps): bump actions/cache from 2 to 3 (#3093)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:44:37 +08:00
Bo-Yi Wu be0d86edf4
chore(CI/CD): add go1.18 version (#3092)
* chore(CI/CD): add go1.18 version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* Update go.mod

* Update go.sum

* Update go.mod

* Update go.sum

Co-authored-by: thinkerou <thinkerou@gmail.com>
2022-03-21 17:38:11 +08:00
thinkerou 62265c893c
chore: support min version of go: 1.14 (#2964) 2022-03-21 10:51:17 +08:00
dependabot[bot] d8dfaaeb2e
Bump golangci/golangci-lint-action from 2 to 3.1.0 (#3063)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-19 21:19:57 +08:00
dependabot[bot] 7927a45143
Bump actions/checkout from 2 to 3 (#3068)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 23:19:06 +08:00
Bo-Yi Wu c19374c471
feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (#3049)
* feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix: unknown directive: retract

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-02-05 20:57:13 +08:00
Sasha Melentyev b94075ff1d
ci: bump golangci-lint version (#3037) 2022-02-05 09:36:38 +08:00
Alexander Melentyev 89a159bdd9
Bump golangci-lint version (#2929) 2021-11-03 22:13:24 +08:00
Matthieu MOREL 71f7087097
golangci(lint) : more linters (#2870) 2021-09-21 15:22:21 +08:00
Alexander Melentyev 5c62979390
bump golangci-lint version (#2858) 2021-09-07 06:43:42 +08:00
Bo-Yi Wu a550c568d7
chore: Add go1.17 for testing (#2828)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-09-06 08:21:03 +08:00
Alexander Melentyev c303020561
bump golangci-lint (#2839) 2021-08-21 21:45:30 +08:00
Matthieu MOREL 435a76b735
chore(ci): update dependencies (#2827)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2021-08-19 15:46:31 +08:00
Jeff fb8a113f8d
ci: add github action workflows (#2596)
* ci: add github action workflows

* test: fixed the TestUnixSocket test on windows (#20)

* ci: add github action workflows (#18)

* Remove .travis.yml

* ci: replace GITTER_ROOM_ID and upload coverage every time you go test

* ci: update coverage using codecov/codecov-action@v1

* Merge branch 'master' into github-actions

* repo: replace travis ci to github actions

* ci: add go version 1.16

* fix: go install requires a specific version

* chore(ci): remove go 1.12 support

* chore(ci): remove os windows-latest

Co-authored-by: thinkerou <thinkerou@gmail.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-06-23 13:10:49 +08:00
Johnny Dallas 90fff292d7
fix typo in the PR template and CONTRIBUTING files (#2323)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-17 12:26:42 +08:00
Dmitry Kutakov 1a1cf655bd add details in issue template (#2085)
indirectly request more details
2019-10-15 14:25:55 +08:00
田欧 705e199298 chore: update issue_implate (#1524) 2018-09-01 00:40:33 +08:00
田欧 6c8a973134
add issue and pull request template explain (#1483)
* add issue/pr template explain

* add issue/pr template explain
2018-08-14 11:35:13 +08:00