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