name: Test
on: [push,workflow_dispatch]
jobs:
  build:
    runs-on: ubuntu-18.04
    strategy:
      matrix:
        go: ["1.15", "1.16"]
    steps:
    - name: CHECKOUT
      uses: actions/checkout@v2
    - name: Setup go
      uses: actions/setup-go@v1
      with:
        go-version: ${{ matrix.go }}
    - name: Print Go version
      run: go version
    - name: Install RabbitMQ
      run: ./bin/ci/install_on_debian.sh
    - name: Configure RabbitMQ
      run: ./bin/ci/before_build.sh
    - name: Restart RabbitMQ
      run: service rabbitmq-server restart
    - name: Await node startup
      run: rabbitmqctl await_startup --timeout 60
    - name: Run tests
      run: make

name: Test
on: [push,workflow_dispatch]
jobs:
  build:
    runs-on: ubuntu-18.04
    strategy:
      matrix:
        go: ["1.16", "1.17", "1.18"]
    steps:
    - name: CHECKOUT
      uses: actions/checkout@v2
    - name: Setup go
      uses: actions/setup-go@v1
      with:
        go-version: ${{ matrix.go }}
    - name: Print Go version
      run: go version
    - name: Install RabbitMQ
      run: ./bin/ci/install_on_debian.sh
    - name: Configure RabbitMQ
      run: ./bin/ci/before_build.sh
    - name: Restart RabbitMQ
      run: service rabbitmq-server restart
    - name: Await node startup
      run: rabbitmqctl await_startup --timeout 60
    - name: Run tests
      run: make

Test workflow: update go versions
Test workflow: update go versions
