-
Notifications
You must be signed in to change notification settings - Fork 108
40 lines (35 loc) · 801 Bytes
/
Copy pathtests.yml
File metadata and controls
40 lines (35 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
services:
rabbitmq:
image: rabbitmq:4-management
ports:
- 15672:15672
- 5672:5672
strategy:
matrix:
go: ["1.25", "1.24", "1.23"]
steps:
- name: CHECKOUT
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
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