gbn: set resend timeout dynamically #367
main.yml
on: pull_request
build package and wasm
3m 49s
lint code
3m 23s
run itests
6m 39s
Matrix: run unit tests
Annotations
10 errors and 5 warnings
lint code:
gbn/gbn_client.go#L98
declarations should never be cuddled (wsl)
|
lint code:
gbn/gbn_conn.go#L416
return statements should not be cuddled if block has more than two lines (wsl)
|
lint code:
gbn/gbn_conn.go#L456
only cuddled expressions if assigning variable or using from line above (wsl)
|
lint code:
gbn/gbn_server.go#L82
declarations should never be cuddled (wsl)
|
lint code:
gbn/queue.go#L138
assignments should only be cuddled with other assignments (wsl)
|
lint code:
gbn/queue.go#L140
return statements should not be cuddled if block has more than two lines (wsl)
|
lint code:
gbn/gbn_conn.go#L408
calculated cyclomatic complexity for function resendQueue is 11, max is 10 (cyclop)
|
lint code:
gbn/gbn_conn.go#L455
mnd: Magic number: 7, in <argument> detected (gomnd)
|
lint code:
gbn/gbn_conn.go#L817
mnd: Magic number: 2, in <argument> detected (gomnd)
|
lint code:
gbn/gbn_conn.go#L465
break with no blank line before (nlreturn)
|
run unit tests (unit)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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 (unit-race)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
lint code
The following actions uses node12 which is deprecated and will be forced to run on node16: 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 package and wasm
The following actions uses node12 which is deprecated and will be forced to run on node16: 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 itests
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|