Skip to content

chore(*): add gosec #206

chore(*): add gosec

chore(*): add gosec #206

Triggered via pull request November 4, 2024 15:53
Status Failure
Total duration 3m 45s
Billable time 4m
Artifacts 2

ci.yml

on: pull_request
docker_pipeline  /  prepare-metadata
0s
docker_pipeline / prepare-metadata
Matrix: docker_pipeline / docker_build
docker_pipeline  /  merge_dockerhub
0s
docker_pipeline / merge_dockerhub
docker_pipeline  /  merge_ecr
0s
docker_pipeline / merge_ecr
Fit to window
Zoom out
Zoom in

Annotations

24 errors
lint_test / lint: config/bitcoin.go#L8
could not import github.com/babylonlabs-io/vigilante/types (-: # github.com/babylonlabs-io/vigilante/types
lint_test / lint: types/btccache.go#L61
invalid operation: b.size() > b.maxEntries (mismatched types int and uint32)
lint_test / lint: types/btccache.go#L64
invalid operation: b.size() == b.maxEntries (mismatched types int and uint32)
lint_test / lint: types/btccache.go#L194
invalid operation: leftBound <= rightBound (mismatched types uint32 and int)
lint_test / lint: types/btccache.go#L195
invalid operation: rightBound - leftBound (mismatched types int and uint32)
lint_test / lint: types/btccache.go#L228
invalid operation: b.size() < b.maxEntries (mismatched types int and uint32)) (typecheck)
lint_test / lint: netparams/bitcoin.go#L6
could not import github.com/babylonlabs-io/vigilante/types (-: # github.com/babylonlabs-io/vigilante/types
lint_test / lint: types/btccache.go#L61
invalid operation: b.size() > b.maxEntries (mismatched types int and uint32)
lint_test / lint: types/btccache.go#L64
invalid operation: b.size() == b.maxEntries (mismatched types int and uint32)
lint_test / lint: types/btccache.go#L194
invalid operation: leftBound <= rightBound (mismatched types uint32 and int)
lint_test / integration-tests: types/btccache.go#L61
invalid operation: b.size() > b.maxEntries (mismatched types int and uint32)
lint_test / integration-tests: types/btccache.go#L64
invalid operation: b.size() == b.maxEntries (mismatched types int and uint32)
lint_test / integration-tests: types/btccache.go#L194
invalid operation: leftBound <= rightBound (mismatched types uint32 and int)
lint_test / integration-tests: types/btccache.go#L195
invalid operation: rightBound - leftBound (mismatched types int and uint32)
lint_test / integration-tests: types/btccache.go#L228
invalid operation: b.size() < b.maxEntries (mismatched types int and uint32)
lint_test / integration-tests
Process completed with exit code 2.
docker_pipeline / docker_build (linux/amd64, ubuntu-24.04)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c CGO_LDFLAGS=\"$CGO_LDFLAGS -lstdc++ -lm -lsodium\" CGO_ENABLED=1 BUILD_TAGS=$BUILD_TAGS LINK_STATICALLY=true make build" did not complete successfully: exit code: 2
docker_pipeline / docker_build (linux/arm64, ubuntu-24.04-arm64)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c CGO_LDFLAGS=\"$CGO_LDFLAGS -lstdc++ -lm -lsodium\" CGO_ENABLED=1 BUILD_TAGS=$BUILD_TAGS LINK_STATICALLY=true make build" did not complete successfully: exit code: 2
lint_test / unit-tests: types/btccache.go#L61
invalid operation: b.size() > b.maxEntries (mismatched types int and uint32)
lint_test / unit-tests: types/btccache.go#L64
invalid operation: b.size() == b.maxEntries (mismatched types int and uint32)
lint_test / unit-tests: types/btccache.go#L194
invalid operation: leftBound <= rightBound (mismatched types uint32 and int)
lint_test / unit-tests: types/btccache.go#L195
invalid operation: rightBound - leftBound (mismatched types int and uint32)
lint_test / unit-tests: types/btccache.go#L228
invalid operation: b.size() < b.maxEntries (mismatched types int and uint32)
lint_test / unit-tests
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
babylonlabs-io~vigilante~JYICAP.dockerbuild
26.4 KB
babylonlabs-io~vigilante~TV7HXY.dockerbuild
26.6 KB