From c0c20652a76b8bc3993a47c298c2b17d70f657ef Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Sun, 12 Jan 2020 17:24:36 +1100 Subject: [PATCH] Run CI on pull requests --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51acca7..16c58b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: Continuous integration -on: [push] +on: [push, pull_request] jobs: check_pr: @@ -47,3 +47,11 @@ jobs: - uses: ./ with: toolchain: stable + + install_stable_through_rust_toolchain_file: + runs-on: ubuntu-latest + needs: check_pr + steps: + - uses: actions/checkout@v1 + - run: echo "stable" > ./rust-toolchain + - uses: ./