Skip to content

Commit

Permalink
Have tests run when committing on the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ggilles committed Jan 22, 2023
1 parent 99f3d26 commit c22d9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Test
on:
push:
branches:
- master
- main
pull_request: {}

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
path: ~/.cache/bazel
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-master
${{ runner.os }}-${{ env.cache-name }}-main
- name: Build
run: bazel build //src:djinni
Expand Down

0 comments on commit c22d9f8

Please sign in to comment.