From 1009e8265fa2cfe73bf476a5fd5d3a61565247c6 Mon Sep 17 00:00:00 2001 From: Filip Filmar Date: Fri, 27 Oct 2023 08:03:02 +0000 Subject: [PATCH] Fix the workflow definitions A while back I changed the name of the default branch to main, which effectively disabled the tests and builds. And so, a test failure creeped in. Now we have a bug to to fix. --- .github/workflows/integration.yml | 10 +++++----- .github/workflows/test.yml | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 0f84790..fe243a0 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,14 +1,14 @@ name: Integration on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] - + branches: [ main ] + schedule: + - cron: "43 18 * * 0" jobs: test: - # Pin the version of the docker container used for building. - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Setup bazel uses: abhinavsingh/setup-bazel@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d860a3..9d27016 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,14 @@ name: Test on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] - + branches: [ main ] + schedule: + - cron: "43 19 * * 0" jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Setup bazel uses: abhinavsingh/setup-bazel@v3