name: Test
on: push
jobs:
  build:
    runs-on: ubuntu-18.04
    strategy:
      matrix:
        go: [1.15.x, 1.16.x, tip]
    steps:
    - name: CHECKOUT
      uses: actions/checkout@v2
    - name: Install Go
      run: |
        curl -sL https://raw.githubusercontent.com/maxatome/install-go/v2.1/install-go.pl | perl - ${{ matrix.go-version }} $HOME/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: Run tests
      continue-on-error: ${{ matrix.go-version == 'tip' }}
      run: make

name: Test
on: push
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: Run tests
      run: make

Switch to a GitHub-provided Go setup action
Switch to a GitHub-provided Go setup action
