mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-03-21 17:43:31 +00:00
32 lines
535 B
YAML
32 lines
535 B
YAML
name: test
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
build:
|
|
name: go
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go: ['1.14', '1.15', '1.16']
|
|
steps:
|
|
- name: setup
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{matrix.go}}
|
|
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: tools
|
|
run: GO111MODULE=off go get golang.org/x/lint/golint
|
|
|
|
- name: test
|
|
run: make
|
|
|