Skip to content

chore(deps): Update module github.com/goravel/framework to v1.15.2 #206

chore(deps): Update module github.com/goravel/framework to v1.15.2

chore(deps): Update module github.com/goravel/framework to v1.15.2 #206

Triggered via pull request December 31, 2024 16:44
Status Failure
Total duration 1m 35s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint / lint: controller_test.go#L99
cannot use NewTestContext(context.Background(), w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to Get: *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (missing method WithContext)
lint / lint: controller_test.go#L101
cannot use NewTestContext(context.Background(), w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to Post: *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (missing method WithContext)
lint / lint: controller_test.go#L116
cannot use NewTestContext(context.Background(), w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to Get: *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (missing method WithContext)
lint / lint: controller_test.go#L118
cannot use NewTestContext(context.Background(), w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to Put: *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (missing method WithContext)
lint / lint: controller_test.go#L120
cannot use NewTestContext(context.Background(), w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to Delete: *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (missing method WithContext)
lint / lint: controller_test.go#L387
cannot use testContext (variable of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to Inject: *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (missing method WithContext)
lint / lint: controller_test.go#L418
cannot use NewTestRequest(r) (value of type *TestRequest) as "github.com/goravel/framework/contracts/http".ContextRequest value in return statement: *TestRequest does not implement "github.com/goravel/framework/contracts/http".ContextRequest (missing method Abort)
lint / lint: controller_test.go#L422
cannot use NewTestResponse(r) (value of type *TestResponse) as "github.com/goravel/framework/contracts/http".ContextResponse value in return statement: *TestResponse does not implement "github.com/goravel/framework/contracts/http".ContextResponse (wrong type for method Data)
lint / lint: controller_test.go#L554
cannot use r (variable of type *TestRequest) as "github.com/goravel/framework/contracts/http".ContextRequest value in return statement: *TestRequest does not implement "github.com/goravel/framework/contracts/http".ContextRequest (missing method Abort)
lint / lint: controller_test.go#L618
cannot use r (variable of type *TestResponse) as "github.com/goravel/framework/contracts/http".ContextResponse value in return statement: *TestResponse does not implement "github.com/goravel/framework/contracts/http".ContextResponse (wrong type for method Data)
lint / lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636