From d1355b42ce2f945c2cf24071a55a002bf69a1895 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Wed, 30 Nov 2022 19:16:56 +0100 Subject: [PATCH] CI: Also run on PRs and manual trigger Also run the CI on Pull Requests and allow for manually triggering it. --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3b5dcff..aae2630 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,6 +1,6 @@ name: Rust -on: [push] +on: [push, pull_request, workflow_dispatch] jobs: build: @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build run: cargo build --verbose