From 1e7baa75ca624ed007a380abc14de846bb1d8fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20Anker=20Kvisg=C3=A5rd=20Lange?= Date: Mon, 4 Oct 2021 22:10:10 +0200 Subject: [PATCH] fix: Adding gh actions --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..71154e9 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + branches: + - main + pull_request: {} + +jobs: + test: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: bazelbuild/setup-bazelisk@v1 + - name: Mount bazel cache + uses: actions/cache@v2 + with: + path: "~/.cache/bazel" + key: bazel + - run: bazel test //...