Skip to content

Replace Worker with Runner #1393

Replace Worker with Runner

Replace Worker with Runner #1393

Triggered via pull request October 28, 2024 14:05
Status Failure
Total duration 1m 37s
Artifacts

golangci-lint.yml

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

Annotations

14 errors and 4 warnings
lint (./...): tools/testutils/testdata.go#L367
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./...): api/audit_test.go#L11
could not import github.com/TUM-Dev/gocast/tools/testutils (-: # github.com/TUM-Dev/gocast/tools/testutils
lint (./...): tools/testutils/testdata.go#L367
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested)) (typecheck)
lint (./...): api/courses_test.go#L72
cannot use mock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./...): api/courses_test.go#L115
cannot use mock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./...): api/courses_test.go#L1050
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./...): api/courses_test.go#L1079
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./...): api/courses_test.go#L1146
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./...): api/courses_test.go#L1173
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./...): api/courses_test.go#L1200
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method SetStreamRequested) (typecheck)
lint (./worker/edge)
The job was canceled because "_" failed.
lint (./worker/edge)
The operation was canceled.
lint (./worker)
The job was canceled because "_" failed.
lint (./worker)
The operation was canceled.
lint (./...)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (./...)
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum
lint (./worker/edge)
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum
lint (./worker)
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum