diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 00000000..9f9dea98 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,20 @@ +name: Build + +# Trigger the workflow on push or pull request +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-16.04 + + steps: + - uses: actions/checkout@v1 + + - name: Setup Bazel + uses: abhinavsingh/setup-bazel@v3 + + - name: Build + run: bazel build //... + + - name: Test + run: bazel test //... diff --git a/WORKSPACE b/WORKSPACE index ec8d5e64..b54973d0 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -3,5 +3,5 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") git_repository( name = "googletest", remote = "https://github.com/google/googletest", - tag = "release-1.8.1", + tag = "release-1.10.0", )