Skip to content

chore: parametrize RABBITMQ_START_TIMEOUT in scripts/test #15

chore: parametrize RABBITMQ_START_TIMEOUT in scripts/test

chore: parametrize RABBITMQ_START_TIMEOUT in scripts/test #15

name: build-and-test
on:
push:
ignore_branches: [ no_test ]
pull_request:
ignore_branches: [ no_test ]
jobs:
build:
strategy:
matrix:
go-version: [ '1.21', '1.24' ]
runs-on: ubuntu-latest
steps:
- name: Install RabbitMQ
run: sudo apt-get install -y rabbitmq-server
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...