Skip to content

harassment: add blockwords #237

harassment: add blockwords

harassment: add blockwords #237

Triggered via push August 17, 2024 04:24
Status Failure
Total duration 1m 19s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
Lint: internal/db/censor_log.go#L1
: # github.com/NekoWheel/NekoBox/internal/db [github.com/NekoWheel/NekoBox/internal/db.test]
Lint: internal/db/users_test.go#L276
cannot use HarassmentSettingNone (constant "none" of type HarassmentSettingType) as HarassmentSettingOptions value in argument to db.UpdateHarassmentSetting
Lint: internal/db/users_test.go#L281
cannot use "not found" (untyped string constant) as HarassmentSettingOptions value in argument to db.UpdateHarassmentSetting (typecheck)
Lint: route/question/page.go#L166
S1039: unnecessary use of fmt.Sprintf (gosimple)
Lint
issues found
Test: internal/db/users_test.go#L276
cannot use HarassmentSettingNone (constant "none" of type HarassmentSettingType) as HarassmentSettingOptions value in argument to db.UpdateHarassmentSetting
Test: internal/db/users_test.go#L281
cannot use "not found" (untyped string constant) as HarassmentSettingOptions value in argument to db.UpdateHarassmentSetting
Test
Process completed with exit code 1.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/