Commit Graph

29 Commits

Author SHA1 Message Date
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] 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
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] 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] 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
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