diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2020-12-08 12:12:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 12:12:27 -0500 |
commit | 1f9ef3bd7235e2b7dbe00be0dbf164fecb63ef70 (patch) | |
tree | 6b11d458a89e4ffb0c3d9c37ce9752173d23389e | |
parent | 4ee1fc64985bdb8f3f74775544b885455f469bbc (diff) | |
download | opencensus-go-1f9ef3bd7235e2b7dbe00be0dbf164fecb63ef70.tar.gz |
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>
-rw-r--r-- | .github/workflows/build.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f92bb26 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 |