File tree 5 files changed +12
-6
lines changed
5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 14
14
- name : Setup golangci-lint
15
15
uses : golangci/golangci-lint-action@v3
16
16
with :
17
- version : v1.45 .0
17
+ version : v1.49 .0
18
18
args : --verbose
19
19
20
20
# Label of the container job
Original file line number Diff line number Diff line change
1
+ GO ?= go
2
+
1
3
test :
2
- go test -v -cover -covermode=atomic -coverprofile=coverage.out
4
+ $(GO ) test -v -cover -covermode=atomic -coverprofile=coverage.out ./...
5
+
6
+ upgrade :
7
+ $(GO ) get -u ./...
3
8
4
9
.PHONY : reset
5
10
reset :
Original file line number Diff line number Diff line change 4
4
5
5
require (
6
6
github.com/golang-queue/queue v0.1.3
7
- github.com/rabbitmq/amqp091-go v1.4 .0
7
+ github.com/rabbitmq/amqp091-go v1.5 .0
8
8
github.com/stretchr/testify v1.8.0
9
9
go.uber.org/goleak v1.1.12
10
10
)
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
13
13
github.com/kr/text v0.1.0 /go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI =
14
14
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
15
15
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
16
- github.com/rabbitmq/amqp091-go v1.4 .0 h1:T2G+J9W9OY4p64Di23J6yH7tOkMocgnESvYeBjuG9cY =
17
- github.com/rabbitmq/amqp091-go v1.4 .0 /go.mod h1:JsV0ofX5f1nwOGafb8L5rBItt9GyhfQfcJj+oyz0dGg =
16
+ github.com/rabbitmq/amqp091-go v1.5 .0 h1:VouyHPBu1CrKyJVfteGknGOGCzmOz0zcv/tONLkb7rg =
17
+ github.com/rabbitmq/amqp091-go v1.5 .0 /go.mod h1:JsV0ofX5f1nwOGafb8L5rBItt9GyhfQfcJj+oyz0dGg =
18
18
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
19
19
github.com/stretchr/objx v0.4.0 /go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw =
20
20
github.com/stretchr/testify v1.7.0 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
Original file line number Diff line number Diff line change @@ -182,7 +182,8 @@ func (w *Worker) Queue(job core.QueuedMessage) error {
182
182
return queue .ErrQueueShutdown
183
183
}
184
184
185
- err := w .channel .Publish (
185
+ err := w .channel .PublishWithContext (
186
+ context .Background (),
186
187
w .opts .exchangeName , // exchange
187
188
w .opts .routingKey , // routing key
188
189
false , // mandatory
You can’t perform that action at this time.
0 commit comments