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

Commit 1f9ef3b

Browse files
jsuerethaabmass
andauthored
Set up Github Actions for pull request validation (#1237)
* 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>
1 parent 4ee1fc6 commit 1f9ef3b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
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

0 commit comments

Comments
 (0)