Skip to content

Address CodeQL warning #329

Address CodeQL warning

Address CodeQL warning #329

Triggered via pull request March 5, 2024 19:35
Status Failure
Total duration 28s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint: allocator.go#L1
: # github.com/rabbitmq/amqp091-go [github.com/rabbitmq/amqp091-go.test]
lint: integration_test.go#L453
invalid operation: want != got (mismatched types int and uint16)
lint: integration_test.go#L481
invalid operation: i <= c.Config.ChannelMax (mismatched types int and uint16) (typecheck)
lint: example_client_test.go#L16
could not import github.com/rabbitmq/amqp091-go (-: # github.com/rabbitmq/amqp091-go [github.com/rabbitmq/amqp091-go.test]
lint: integration_test.go#L453
invalid operation: want != got (mismatched types int and uint16)
lint: integration_test.go#L481
invalid operation: i <= c.Config.ChannelMax (mismatched types int and uint16)) (typecheck)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@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/.