Skip to content

Merge pull request #288 from michaelklishin/dependabot/go_modules/git… #247

Merge pull request #288 from michaelklishin/dependabot/go_modules/git…

Merge pull request #288 from michaelklishin/dependabot/go_modules/git… #247

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
services:
rabbitmq:
image: rabbitmq:3.11-management
ports:
- 15672:15672
- 5672:5672
strategy:
matrix:
go: ["1.19", "1.20"]
steps:
- name: CHECKOUT
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Print Go version
run: go version
- name: Wait for node to start booting
run: sleep 15
- name: Configure broker
run: RABBITHOLE_RABBITMQCTL=DOCKER:${{job.services.rabbitmq.id}} bin/ci/before_build.sh
- name: Run tests
run: make