Adding CI support for PRs

This commit is contained in:
Ryan Summers 2020-11-05 08:13:55 +01:00
parent f38c58ab53
commit f1ee9a2af5
1 changed files with 4 additions and 5 deletions

View File

@ -2,10 +2,9 @@ name: Continuous Integration
on:
push:
branches:
- staging
- trying
- master
branches: [master, staging, trying]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
@ -42,7 +41,7 @@ jobs:
uses: actions-rs/cargo@v1
continue-on-error: true
with:
command: clippy
command: clippy
compile:
runs-on: ubuntu-latest