1name: Build 2 3on: 4 pull_request: 5 branches: 6 - master 7 8jobs: 9 build: 10 runs-on: ubuntu-20.04 11 env: 12 GO11MODULE: 'on' 13 steps: 14 - uses: actions/checkout@v2 15 with: 16 submodules: true 17 fetch-depth: 0 # we want all tags for version check. 18 lfs: true 19 - uses: actions/setup-go@v2 20 with: 21 go-version: '^1.11.0' 22 - name: Build and test 23 run: make install-tools && make travis-ci && go run internal/check/version.go