From 09c77d471345e3a9a0ffdc7bb4216f903550a1f0 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Tue, 1 Oct 2019 19:27:59 -0400 Subject: [PATCH] Attempt to make CI work for PRs --- .github/workflows/CI.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f6a80ed..620a680 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,5 +1,11 @@ name: CI -on: [push] + +on: + push: + branches: + - master + pull_request: {} + jobs: check: runs-on: ${{ matrix.os }} @@ -40,7 +46,7 @@ jobs: env: RUSTFLAGS: "-D warnings" - + steps: - uses: hecrj/setup-rust-action@master with: @@ -60,7 +66,7 @@ jobs: env: RUSTFLAGS: "-D warnings" - + steps: - uses: hecrj/setup-rust-action@master with: