From ca72e73cf3ce026ed7e7a755ce3aa2d220226bf0 Mon Sep 17 00:00:00 2001 From: Steffen Smolka Date: Sat, 19 Oct 2024 16:19:21 +0000 Subject: [PATCH] [NetKAT] Small tweaks to Github Actions script and MODULE.bazel. PiperOrigin-RevId: 687636777 --- .github/workflows/{ci.yml => build.yml} | 5 ++--- MODULE.bazel | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) rename .github/workflows/{ci.yml => build.yml} (89%) diff --git a/.github/workflows/ci.yml b/.github/workflows/build.yml similarity index 89% rename from .github/workflows/ci.yml rename to .github/workflows/build.yml index 4e42442..bb2fae7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,8 @@ on: schedule: # Run daily at midnight to ensure we catch regressions. - cron: "0 0 * * *" - # Manual + # Allow manual triggering of the workflow. + # https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow workflow_dispatch: jobs: @@ -26,11 +27,9 @@ jobs: path: "~/.cache/bazel" key: bazel-${{ hashFiles('MODULE.bazel', 'WORKSPACE.bazel', '.bazelrc') }}-${{ github.ref_name }} restore-keys: | - bazel-${{hashFiles('MODULE.bazel', 'WORKSPACE.bazel', '.bazelrc') }}-${{ github.ref_name }} bazel-${{hashFiles('MODULE.bazel', 'WORKSPACE.bazel', '.bazelrc') }} bazel- - - name: Build run: bazel build --test_output=errors //... - name: Test diff --git a/MODULE.bazel b/MODULE.bazel index edb576a..cbc2709 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -21,7 +21,6 @@ module( compatibility_level = 1, ) -bazel_dep(name = "rules_cc", version = "0.0.13") bazel_dep(name = "rules_license", version = "1.0.0") bazel_dep(name = "protobuf", version = "28.2", repo_name = "com_google_protobuf") bazel_dep(name = "abseil-cpp", version = "20240116.2", repo_name = "com_google_absl")