use go 1.20 #68

Merged
techknowlogick merged 3 commits from techknowlogick-patch-1 into main 2023-02-27 21:59:03 +00:00
No description provided.
techknowlogick added 1 commit 2023-02-06 16:03:07 +00:00
use go 1.20
Signed-off-by: techknowlogick <techknowlogick@gitea.io>
Some checks failed
continuous-integration/drone/pr Build is failing
0c367e9576
lunny approved these changes 2023-02-07 09:36:48 +00:00
6543 approved these changes 2023-02-15 18:12:32 +00:00
6543 added 1 commit 2023-02-15 18:14:13 +00:00
Merge branch 'main' into techknowlogick-patch-1
Some checks failed
continuous-integration/drone/pr Build is failing
167af58cc9
Owner
level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649."

level=warning msg="[linters context] unparam is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649."

config/config.go:74:11: undefined: yaml (typecheck)

	if err = yaml.Unmarshal(configContent, &cfg); err != nil {

	         ^

cmd/cmd.go:27:13: undefined: cli (typecheck)

func New() *cli.App {

            ^

cmd/cmd.go:100:27: undefined: cli (typecheck)

func copyGlobalFlags(app *cli.App) {

                          ^

cmd/contributors.go:17:21: undefined: cli (typecheck)

var Contributors = &cli.Command{

                    ^

exit status 1

make: *** [Makefile:30: lint] Error 1

linting issues ocure :/

``` level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." level=warning msg="[linters context] unparam is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." config/config.go:74:11: undefined: yaml (typecheck) if err = yaml.Unmarshal(configContent, &cfg); err != nil { ^ cmd/cmd.go:27:13: undefined: cli (typecheck) func New() *cli.App { ^ cmd/cmd.go:100:27: undefined: cli (typecheck) func copyGlobalFlags(app *cli.App) { ^ cmd/contributors.go:17:21: undefined: cli (typecheck) var Contributors = &cli.Command{ ^ exit status 1 make: *** [Makefile:30: lint] Error 1 ``` linting issues ocure :/
appleboy approved these changes 2023-02-27 13:55:26 +00:00
techknowlogick added 1 commit 2023-02-27 21:55:37 +00:00
bump golangci-linter
All checks were successful
continuous-integration/drone/pr Build is passing
77fd89b6cf
techknowlogick merged commit e05ef3c254 into main 2023-02-27 21:59:03 +00:00
techknowlogick referenced this issue from a commit 2023-02-27 21:59:03 +00:00
techknowlogick deleted branch techknowlogick-patch-1 2023-02-27 21:59:04 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/changelog#68
No description provided.