Skip to content

Fix lint issue SA1019 reflect.SliceHeader #518

Fix lint issue SA1019 reflect.SliceHeader

Fix lint issue SA1019 reflect.SliceHeader #518

Triggered via pull request June 6, 2024 13:15
Status Failure
Total duration 35m 47s
Artifacts

test-linux.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 9 warnings
Lint: consensus/ethash/algorithm.go#L309
SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead. (staticcheck)
Lint: consensus/ethash/algorithm.go#L310
SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead. (staticcheck)
Lint: consensus/ethash/ethash.go#L148
SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead. (staticcheck)
Lint
Process completed with exit code 2.
Tests
Process completed with exit code 2.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
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/
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/core-geth/core-geth. Supported file pattern: go.sum
Tests-CoreGeth
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests-CoreGeth
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/
Tests-CoreGeth
Restore cache failed: Dependencies file is not found in /home/runner/work/core-geth/core-geth. Supported file pattern: go.sum
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests
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/
Tests
Restore cache failed: Dependencies file is not found in /home/runner/work/core-geth/core-geth. Supported file pattern: go.sum