blob: f92bb262dc9e590200a3f969863943ec5ad9af6d [file]
name: Build
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
env:
GO11MODULE: 'on'
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0 # we want all tags for version check.
lfs: true
- uses: actions/setup-go@v2
with:
go-version: '^1.11.0'
- name: Build and test
run: make install-tools && make travis-ci && go run internal/check/version.go