From 1072f60db3437ff02711c3ffd3cd6cd7aef5fbc4 Mon Sep 17 00:00:00 2001 From: Kris foster Date: Wed, 22 Nov 2023 20:42:50 +0000 Subject: [PATCH] Update to bazel 6.4.0 & add CI job (#6) * update bazel version * add ci --- .bazelversion | 2 +- .github/workflows/ci.yml | 16 ++++++++++++++++ WORKSPACE.bazel => MODULE.bazel | 0 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml rename WORKSPACE.bazel => MODULE.bazel (100%) diff --git a/.bazelversion b/.bazelversion index 132c6de..c0be8a7 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.1.1 \ No newline at end of file +6.4.0 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..dbf92fc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: ci + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: bazelbuild/setup-bazelisk@v2 + - run: bazel build //... + - run: bazel test //solution:solution --test_env guess=basil diff --git a/WORKSPACE.bazel b/MODULE.bazel similarity index 100% rename from WORKSPACE.bazel rename to MODULE.bazel