Skip to content

Use proper channel.Consume() with a timeout, instead of timed retries. #49

Use proper channel.Consume() with a timeout, instead of timed retries.

Use proper channel.Consume() with a timeout, instead of timed retries. #49

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: supercharge/redis-github-action@1.8.0
with:
redis-version: 7
- uses: namoshek/rabbitmq-github-action@v1
with:
version: '4.1.1'
ports: '5672:5672'
- run: go test -count=1 -v ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: golangci/golangci-lint-action@v8
with:
version: v2.1