Skip to content

CI

CI #177

Workflow file for this run

name: CI
on: [push]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
name: Go ${{ matrix.go }} tests
strategy:
matrix:
go: [1.13, 1.14, 1.15, 1.16, 1.17]
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: ./scripts/build
- run: ./scripts/test
buildall:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Build (matrix)
needs: build
steps:
- name: Check build matrix status
if: ${{ needs.build.result != 'success' }}
run: exit 1