Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Set up Github Actions for pull request validation (#1237)
Browse files Browse the repository at this point in the history
* First attempt at workflow migration.

* Update .github/workflows/build.yml

force a specific version of ubuntu

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
  • Loading branch information
jsuereth and aabmass authored Dec 8, 2020
1 parent 4ee1fc6 commit 1f9ef3b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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

0 comments on commit 1f9ef3b

Please sign in to comment.