Skip to content

CI: Check with last two Go stable versions #47

CI: Check with last two Go stable versions

CI: Check with last two Go stable versions #47

Workflow file for this run

name: build-and-test
on:
push:
ignore_branches: [ no_test ]
pull_request:
ignore_branches: [ no_test ]
jobs:
build:
strategy:
matrix:
go-version: [ stable, oldstable ]
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: Go version
run: go version
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...