Skip to content

Update project-add.yml #172

Update project-add.yml

Update project-add.yml #172

Triggered via push March 25, 2024 12:29
Status Failure
Total duration 1m 7s
Artifacts

test.yml

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

Annotations

47 errors and 1 warning
test (macos-latest, 1.21): chain/db.go#L432
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.21): chain/db.go#L441
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.21): chain/db.go#L450
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.21): chain/db.go#L468
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.21): chain/db.go#L486
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.21): chain/db.go#L497
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.21): chain/db.go#L741
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.21): chain/manager.go#L516
appendAssign: append result not assigned to the same slice (gocritic)
test (macos-latest, 1.21): chain/manager.go#L528
appendAssign: append result not assigned to the same slice (gocritic)
test (macos-latest, 1.21): chain/manager.go#L284
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22)
The job was canceled because "macos-latest_1_21" failed.
test (macos-latest, 1.22): miner_test.go#L63
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/db.go#L432
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/db.go#L441
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/db.go#L450
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/db.go#L468
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/db.go#L486
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/db.go#L497
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/db.go#L741
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos-latest, 1.22): chain/manager.go#L516
appendAssign: append result not assigned to the same slice (gocritic)
test (macos-latest, 1.22): chain/manager.go#L528
appendAssign: append result not assigned to the same slice (gocritic)
test (ubuntu-latest, 1.21)
The job was canceled because "macos-latest_1_21" failed.
test (ubuntu-latest, 1.21): miner_test.go#L63
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/db.go#L432
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/db.go#L441
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/db.go#L450
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/db.go#L468
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/db.go#L486
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/db.go#L497
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/db.go#L741
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.21): chain/manager.go#L516
appendAssign: append result not assigned to the same slice (gocritic)
test (ubuntu-latest, 1.21): chain/manager.go#L528
appendAssign: append result not assigned to the same slice (gocritic)
test (windows-latest, 1.22)
The job was canceled because "macos-latest_1_21" failed.
test (windows-latest, 1.22)
The operation was canceled.
test (windows-latest, 1.21)
The job was canceled because "macos-latest_1_21" failed.
test (windows-latest, 1.21)
The operation was canceled.
test (ubuntu-latest, 1.22)
The job was canceled because "macos-latest_1_21" failed.
test (ubuntu-latest, 1.22): miner_test.go#L63
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/db.go#L432
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/db.go#L441
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/db.go#L450
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/db.go#L468
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/db.go#L486
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/db.go#L497
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/db.go#L741
ifElseChain: rewrite if-else to switch statement (gocritic)
test (ubuntu-latest, 1.22): chain/manager.go#L516
appendAssign: append result not assigned to the same slice (gocritic)
test (ubuntu-latest, 1.22): chain/manager.go#L528
appendAssign: append result not assigned to the same slice (gocritic)
test (macos-latest, 1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@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/.