multi: fix race conditions and run unit tests with -race #1770
main.yml
on: pull_request
RPC compilation check
1m 33s
go mod check
20s
build and lint code
4m 32s
run unit tests
5m 34s
Annotations
7 errors
build and lint code:
swap.go#L129
Comment should end in a period (godot)
|
build and lint code:
loopd/log.go#L47
func `debugf` is unused (unused)
|
build and lint code:
loopin.go#L306
copylocks: literal copies lock value from *swapKit: github.com/lightninglabs/loop.swapKit contains sync.Mutex (govet)
|
build and lint code:
loopin.go#L414
copylocks: literal copies lock value from *swapKit: github.com/lightninglabs/loop.swapKit contains sync.Mutex (govet)
|
build and lint code:
loopout.go#L264
copylocks: literal copies lock value from *swapKit: github.com/lightninglabs/loop.swapKit contains sync.Mutex (govet)
|
build and lint code
Process completed with exit code 2.
|
run unit tests
Process completed with exit code 2.
|