From 35616c9fb2562093fcf506f527e739d5bfa7fba8 Mon Sep 17 00:00:00 2001 From: Raunak Bhagat Date: Thu, 21 Sep 2023 19:14:58 -0700 Subject: [PATCH] Add github action --- .github/workflows/on_pr_targeting_master.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/on_pr_targeting_master.yaml diff --git a/.github/workflows/on_pr_targeting_master.yaml b/.github/workflows/on_pr_targeting_master.yaml new file mode 100644 index 0000000..b7c2ac2 --- /dev/null +++ b/.github/workflows/on_pr_targeting_master.yaml @@ -0,0 +1,19 @@ +name: On PR Targeting Master + +on: + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose