Skip to content

WIP: implementing kanji encoding mode #181

WIP: implementing kanji encoding mode

WIP: implementing kanji encoding mode #181

Triggered via pull request May 18, 2024 06:25
Status Failure
Total duration 40s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
build-test: encoder_test.go#L18
cannot use []byte("12312312") (value of type []byte) as type string in argument to enc.Encode
build-test: encoder_test.go#L33
cannot use []byte("AKJA*:/") (value of type []byte) as type string in argument to enc.Encode
build-test: encoder_test.go#L48
cannot use []byte("http://baidu.com?keyword=123123") (value of type []byte) as type string in argument to enc.Encode
build-test: encoder_test.go#L93
cannot use tt.args.byt (variable of type byte) as type rune in argument to analyzeNum
build-test: encoder_test.go#L147
cannot use tt.args.byt (variable of type byte) as type rune in argument to analyzeAlphaNum
build-test: encoder_test.go#L206
cannot use tt.args.raw (variable of type []byte) as type string in argument to analyzeEncodeModeFromRaw
build-test: version_test.go#L116
cannot use tt.args.raw (variable of type []byte) as type string in argument to analyzeVersion
build-test: version_test.go#L288
cannot use source (variable of type []byte) as type string in argument to analyzeVersion
build-test: version_test.go#L296
cannot use source (variable of type []byte) as type string in argument to analyzeVersion
build-test: version_test.go#L304
cannot use source (variable of type []byte) as type string in argument to analyzeVersion
lint: encoder_test.go#L18
cannot use []byte("12312312") (value of type []byte) as string value in argument to enc.Encode (typecheck)
lint: encoder_test.go#L33
cannot use []byte("AKJA*:/") (value of type []byte) as string value in argument to enc.Encode (typecheck)
lint: encoder_test.go#L48
cannot use []byte("http://baidu.com?keyword=123123") (value of type []byte) as string value in argument to enc.Encode (typecheck)
lint: encoder_test.go#L93
cannot use tt.args.byt (variable of type byte) as rune value in argument to analyzeNum (typecheck)
lint: encoder_test.go#L147
cannot use tt.args.byt (variable of type byte) as rune value in argument to analyzeAlphaNum (typecheck)
lint: encoder_test.go#L206
cannot use tt.args.raw (variable of type []byte) as string value in argument to analyzeEncodeModeFromRaw (typecheck)
lint: version_test.go#L116
cannot use tt.args.raw (variable of type []byte) as string value in argument to analyzeVersion (typecheck)
lint: version_test.go#L288
cannot use source (variable of type []byte) as string value in argument to analyzeVersion (typecheck)
lint: version_test.go#L296
cannot use source (variable of type []byte) as string value in argument to analyzeVersion (typecheck)
lint: version_test.go#L304
cannot use source (variable of type []byte) as string value in argument to analyzeVersion (typecheck)
build-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-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/
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.