chore: bump versions #386
Triggered via pull request
September 10, 2024 02:28
Status
Failure
Total duration
1m 26s
Artifacts
–
reviewdog.yml
on: pull_request
runner / staticcheck
1m 18s
Annotations
2 errors and 2 warnings
runner / staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/kitex-examples/codec/json
codec/json/codec.go:86:31: cannot use 8 (untyped int constant) as []byte value in argument to in.ReadBinary
codec/json/codec.go:90:28: cannot use int(binary.BigEndian.Uint64(length)) (value of type int) as []byte value in argument to in.ReadBinary
codec/json/codec.go:90:56: cannot use length (variable of type int) as []byte value in argument to binary.BigEndian.Uint64
codec/json/codec.go:95:23: cannot use buf (variable of type int) as []byte value in argument to json.Unmarshal
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/kitex-examples/codec/json\ncodec/json/codec.go:86:31: cannot use 8 (untyped int constant) as []byte value in argument to in.ReadBinary\ncodec/json/codec.go:90:28: cannot use int(binary.BigEndian.Uint64(length)) (value of type int) as []byte value in argument to in.ReadBinary\ncodec/json/codec.go:90:56: cannot use length (variable of type int) as []byte value in argument to binary.BigEndian.Uint64\ncodec/json/codec.go:95:23: cannot use buf (variable of type int) as []byte value in argument to json.Unmarshal","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
runner / staticcheck
Process completed with exit code 1.
|
runner / staticcheck
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/
|
runner / staticcheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|