Skip to content

Setup experience software API #16186

Setup experience software API

Setup experience software API #16186

Triggered via pull request September 30, 2024 20:12
Status Failure
Total duration 5m 9s
Artifacts

golangci-lint.yml

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

Annotations

20 errors and 2 warnings
lint (ubuntu-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (ubuntu-latest): server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles) (typecheck)
lint (ubuntu-latest): tools/jira-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (ubuntu-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (ubuntu-latest): server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)) (typecheck)
lint (ubuntu-latest): tools/nvd/nvdvuln/nvdvuln.go#L14
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (ubuntu-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (ubuntu-latest): server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)) (typecheck)
lint (ubuntu-latest): tools/zendesk-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (ubuntu-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (macos-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (macos-latest): server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles) (typecheck)
lint (macos-latest): tools/jira-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (macos-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (macos-latest): server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)) (typecheck)
lint (macos-latest): tools/nvd/nvdvuln/nvdvuln.go#L14
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (macos-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (macos-latest): server/mock/datastore_mock.go#L21
cannot use (*DataStore)(nil) (value of type *DataStore) as fleet.Datastore value in variable declaration: *DataStore does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)) (typecheck)
lint (macos-latest): tools/zendesk-integration/main.go#L19
could not import github.com/fleetdm/fleet/v4/server/mock (-: # github.com/fleetdm/fleet/v4/server/mock
lint (macos-latest): server/mock/datastore.go#L15
cannot use (*Store)(nil) (value of type *Store) as fleet.Datastore value in variable declaration: *Store does not implement fleet.Datastore (missing method SetSetupExperienceSoftwareTitles)
lint (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/