Skip to content

HTML: check for templates in style/script #103

HTML: check for templates in style/script

HTML: check for templates in style/script #103

Triggered via push October 31, 2023 13:24
Status Success
Total duration 41s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: xml/lex.go#L7
import 'github.com/tdewolff/parse/v2' is not allowed from list 'Main' (depguard)
lint: xml/lex_test.go#L8
import 'github.com/tdewolff/parse/v2' is not allowed from list 'Main' (depguard)
lint: xml/lex_test.go#L9
import 'github.com/tdewolff/test' is not allowed from list 'Main' (depguard)
lint: xml/util_test.go#L6
import 'github.com/tdewolff/test' is not allowed from list 'Main' (depguard)
lint: common_test.go#L139
Error return value of `mime.ParseMediaType` is not checked (errcheck)
lint: common_test.go#L146
Error return value of `mime.ParseMediaType` is not checked (errcheck)
lint: common_test.go#L153
Error return value of `mime.ParseMediaType` is not checked (errcheck)
lint: util_test.go#L17
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: util_test.go#L27
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: common_test.go#L8
import 'github.com/tdewolff/test' is not allowed from list 'Main' (depguard)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@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 `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/