Skip to content

Add hyperloop/swaps 2.0 #1252

Add hyperloop/swaps 2.0

Add hyperloop/swaps 2.0 #1252

Triggered via pull request August 13, 2024 10:40
Status Failure
Total duration 2m 38s
Artifacts

main.yml

on: pull_request
RPC compilation check
1m 24s
RPC compilation check
go mod check
16s
go mod check
build and lint code
1m 58s
build and lint code
run unit tests
2m 29s
run unit tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
build and lint code: hyperloop/hyperloop.go#L136
captLocal: `HtlcFeeRate' should not be capitalized (gocritic)
build and lint code: hyperloop/hyperloop.go#L137
captLocal: `HyperLoopExpiry' should not be capitalized (gocritic)
build and lint code: hyperloop/actions.go#L561
Comment should end in a period (godot)
build and lint code: hyperloop/fsm.go#L94
Comment should end in a period (godot)
build and lint code: hyperloop/hyperloop.go#L326
unnecessary conversion (unconvert)
build and lint code: hyperloop/hyperloop.go#L330
unnecessary conversion (unconvert)
build and lint code: hyperloop/actions.go#L530
`(*FSM).waitForState` - `ctx` is unused (unparam)
build and lint code: hyperloop/fsm.go#L396
(*FSM).subscribeHyperloopOutpointSpend - result 0 (error) is always nil (unparam)
build and lint code: hyperloop/hyperloop.go#L279
(*HyperLoop).removeOwnNonceFromSet - result 1 (error) is always nil (unparam)
build and lint code: hyperloop/actions.go#L41
field `outgoingChanSet` is unused (unused)
run unit tests
Process completed with exit code 2.
go mod check
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/
go mod check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
RPC compilation check
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/
RPC compilation check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build and lint code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, 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/
build and lint code
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, 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/
run unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/