Skip to content

Add LRU cache for JSONPointerToSlice and DotPathToSlice. #26

Add LRU cache for JSONPointerToSlice and DotPathToSlice.

Add LRU cache for JSONPointerToSlice and DotPathToSlice. #26

Triggered via pull request February 19, 2024 03:17
Status Failure
Total duration 27s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
golangci-lint: gabs_test.go#L1983
Error return value is not checked (errcheck)
golangci-lint: gabs.go#L751
emptyStringTest: replace `len(path) > 0` with `path != ""` (gocritic)
golangci-lint: gabs.go#L771
emptyStringTest: replace `len(path) > 0` with `path != ""` (gocritic)
golangci-lint: gabs.go#L928
emptyStringTest: replace `len(path) > 0` with `path != ""` (gocritic)
golangci-lint: gabs_test.go#L220
emptyStringTest: replace `len(test.err) > 0` with `test.err != ""` (gocritic)
golangci-lint: gabs.go#L35
import 'github.com/hashicorp/golang-lru/v2' is not allowed from list 'Main' (depguard)
golangci-lint
issues found
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.