From f4284bbdc098802b41fb4e78e667e655388cf5e4 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Fri, 5 Mar 2021 18:28:03 +0100 Subject: [PATCH] less CI time --- .github/workflows/build_and_test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 48be983f95..4d92cc1c80 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -1,6 +1,8 @@ name: Build and Test -on: [push] +on: + push: + branches: [ dev, main ] env: CARGO_TERM_COLOR: always @@ -57,4 +59,4 @@ jobs: - name: Build Docs run: cargo doc - name: Test Docs - run: cargo test --doc \ No newline at end of file + run: cargo test --doc