Skip to content

feat: optimized models #172

feat: optimized models

feat: optimized models #172

Triggered via push June 11, 2024 15:36
Status Failure
Total duration 1m 52s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Test: models/models/data_source_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/dependency_setting_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/environment_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/node_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/permission_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/role_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/setting_v2.go#L5
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/task_stat_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/token_v2.go#L4
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test: models/models/user_v2.go#L3
"go.mongodb.org/mongo-driver/bson/primitive" imported and not used
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/