Skip to content

chore: update linter configuration in .golangci.yml #78

chore: update linter configuration in .golangci.yml

chore: update linter configuration in .golangci.yml #78

Triggered via push August 10, 2023 08:34
Status Failure
Total duration 1m 4s
Artifacts

go.yml

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

Annotations

5 errors and 5 warnings
lint: authz.go#L10
import 'github.com/casbin/casbin/v2' is not allowed from list 'Main' (depguard)
lint: authz.go#L11
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
lint: authz_test.go#L13
import 'github.com/casbin/casbin/v2' is not allowed from list 'Main' (depguard)
lint: authz_test.go#L14
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
lint
issues found
ubuntu-latest @ Go 1.19
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
ubuntu-latest @ Go 1.18
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
ubuntu-latest @ Go 1.20
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
ubuntu-latest @ Go 1.21
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
macos-latest @ Go
Restore cache failed: Dependencies file is not found in /Users/runner/work/authz/authz. Supported file pattern: go.sum