Skip to content

+测试代码,修改函数形参 #20

+测试代码,修改函数形参

+测试代码,修改函数形参 #20

Triggered via push May 15, 2024 14:28
Status Failure
Total duration 1m 2s
Artifacts

go.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
Go 1.20 sample: deflate/compression_decode_test.go#L55
cannot use tt.args.payload (variable of type []byte) as *[]byte value in argument to CompressNoContextTakeover
Go 1.20 sample: deflate/compression_decode_test.go#L72
cannot use *gotPayload (variable of type []byte) as *[]byte value in argument to de.Decompress
Go 1.20 sample: deflate/compression_decode_test.go#L134
cannot use needData (variable of type []byte) as *[]byte value in argument to CompressNoContextTakeover
Go 1.20 sample: deflate/compression_decode_test.go#L146
cannot use decode[i] (variable of type []byte) as *[]byte value in argument to de.Decompress
Go 1.20 sample: deflate/compression_encode_no_context_test.go#L27
cannot use tt.args.payload (variable of type []byte) as *[]byte value in argument to CompressNoContextTakeover
Go 1.20 sample: deflate/compression_encode_no_context_test.go#L33
cannot use *gotEncodeBuf (variable of type []byte) as *[]byte value in argument to DecompressNoContextTakeover
Go 1.20 sample: deflate/compression_encode_test.go#L47
cannot use tt.args.payload (variable of type []byte) as *[]byte value in argument to e.Compress
Go 1.20 sample: deflate/compression_encode_test.go#L53
cannot use *gotEncodePayload (variable of type []byte) as *[]byte value in argument to DecompressNoContextTakeover
Go 1.20 sample
Process completed with exit code 1.
Go 1.20 sample
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go 1.20 sample
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/