Skip to content

Feature/add iOS support #3868

Feature/add iOS support

Feature/add iOS support #3868

Triggered via pull request December 6, 2023 12:22
Status Failure
Total duration 7m 7s
Artifacts

golangci-lint.yml

on: pull_request
codespell
11s
codespell
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

34 errors
codespell: client/ios/NetBirdSDK/preferences_test.go#L60
managmenet ==> management
codespell: client/ios/NetBirdSDK/preferences_test.go#L64
managemenet ==> management
codespell: client/ios/NetBirdSDK/preferences_test.go#L105
managmenet ==> management
codespell: client/ios/NetBirdSDK/preferences_test.go#L109
managemenet ==> management
lint (ubuntu-latest): client/system/info.go#L62
func `extractOsVersion` is unused (unused)
lint (ubuntu-latest): client/system/info.go#L71
func `extractOsName` is unused (unused)
lint (ubuntu-latest): client/ios/NetBirdSDK/logger.go#L9
var `logFile` is unused (unused)
lint (ubuntu-latest): client/ios/NetBirdSDK/login.go#L153
func `(*Auth).foregroundGetTokenInfo` is unused (unused)
lint (ubuntu-latest): client/ios/NetBirdSDK/client.go#L195
Multiplication of durations: `waitTimeout * time.Second` (durationcheck)
lint (ubuntu-latest): client/ios/NetBirdSDK/login.go#L167
Multiplication of durations: `waitTimeout * time.Second` (durationcheck)
lint (ubuntu-latest): client/ios/NetBirdSDK/logger.go#L13
S1021: should merge variable declaration with assignment on next line (gosimple)
lint (ubuntu-latest): client/internal/dns/upstream.go#L125
ineffectual assignment to err (ineffassign)
lint (ubuntu-latest): client/ios/NetBirdSDK/client.go#L89
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint (ubuntu-latest): client/ios/NetBirdSDK/client.go#L90
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint (macos-latest): client/system/info.go#L62
func `extractOsVersion` is unused (unused)
lint (macos-latest): client/system/info.go#L71
func `extractOsName` is unused (unused)
lint (macos-latest): client/ios/NetBirdSDK/logger.go#L9
var `logFile` is unused (unused)
lint (macos-latest): client/ios/NetBirdSDK/login.go#L153
func `(*Auth).foregroundGetTokenInfo` is unused (unused)
lint (macos-latest): client/ios/NetBirdSDK/client.go#L195
Multiplication of durations: `waitTimeout * time.Second` (durationcheck)
lint (macos-latest): client/ios/NetBirdSDK/login.go#L167
Multiplication of durations: `waitTimeout * time.Second` (durationcheck)
lint (macos-latest): client/ios/NetBirdSDK/logger.go#L13
S1021: should merge variable declaration with assignment on next line (gosimple)
lint (macos-latest): client/internal/dns/upstream.go#L125
ineffectual assignment to err (ineffassign)
lint (macos-latest): client/ios/NetBirdSDK/client.go#L89
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint (macos-latest): client/ios/NetBirdSDK/client.go#L90
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint (windows-latest): client/system/info.go#L62
func `extractOsVersion` is unused (unused)
lint (windows-latest): client/system/info.go#L71
func `extractOsName` is unused (unused)
lint (windows-latest): client/ios/NetBirdSDK/logger.go#L9
var `logFile` is unused (unused)
lint (windows-latest): client/ios/NetBirdSDK/login.go#L153
func `(*Auth).foregroundGetTokenInfo` is unused (unused)
lint (windows-latest): client/ios/NetBirdSDK/client.go#L195
Multiplication of durations: `waitTimeout * time.Second` (durationcheck)
lint (windows-latest): client/ios/NetBirdSDK/login.go#L167
Multiplication of durations: `waitTimeout * time.Second` (durationcheck)
lint (windows-latest): client/ios/NetBirdSDK/logger.go#L13
S1021: should merge variable declaration with assignment on next line (gosimple)
lint (windows-latest): client/internal/dns/upstream.go#L125
ineffectual assignment to err (ineffassign)
lint (windows-latest): client/ios/NetBirdSDK/client.go#L89
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint (windows-latest): client/ios/NetBirdSDK/client.go#L90
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)