From 42f58b6707a8be6e4d256cca6e84e6e3ae318bd5 Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Mon, 8 Nov 2021 10:22:42 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f681b5..17e6962 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: CI -on: [push] +on: + push: + pull_request: + branches: + - main jobs: build_and_test: @@ -17,4 +21,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --release --all-features \ No newline at end of file + args: --release --all-features