Skip to content

ci(lint): update tooling and workflows for consistency #1280

ci(lint): update tooling and workflows for consistency

ci(lint): update tooling and workflows for consistency #1280

Triggered via pull request February 1, 2024 01:05
Status Failure
Total duration 26s
Artifacts

gin.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: logger.go#L221
undefined: isatty (typecheck)
lint: binding/default_validator.go#L13
import 'github.com/go-playground/validator/v10' is not allowed from list 'Main' (depguard)
lint: binding/form_mapping.go#L15
import 'github.com/gin-gonic/gin/internal/bytesconv' is not allowed from list 'Main' (depguard)
lint: binding/form_mapping.go#L16
import 'github.com/gin-gonic/gin/internal/json' is not allowed from list 'Main' (depguard)
lint: binding/json.go#L13
import 'github.com/gin-gonic/gin/internal/json' is not allowed from list 'Main' (depguard)
lint: binding/msgpack.go#L14
import 'github.com/ugorji/go/codec' is not allowed from list 'Main' (depguard)
lint: binding/toml.go#L12
import 'github.com/pelletier/go-toml/v2' is not allowed from list 'Main' (depguard)
lint: binding/binding_msgpack_test.go#L13
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: binding/binding_msgpack_test.go#L14
import 'github.com/ugorji/go/codec' is not allowed from list 'Main' (depguard)
lint: binding/binding_test.go#L21
import 'github.com/gin-gonic/gin/testdata/protoexample' is not allowed from list 'Main' (depguard)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gin/gin. Supported file pattern: go.sum