Adding CI support for PRs

This commit is contained in:
Ryan Summers 2020-11-05 08:13:55 +01:00
parent f38c58ab53
commit f1ee9a2af5

View File

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