From 5020daf3ec14780d50925e8d6c259530c92161bc Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Mon, 7 Feb 2022 20:45:01 -0500 Subject: [PATCH] feat: add a small workflow --- .github/workflows/pr.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr.yaml diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml new file mode 100644 index 0000000..1221671 --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,19 @@ +name: PR +runs-on: self-hosted +on: + pull_request: + branches: [ main ] +concurrency: + cancel-in-progress: true + group: ${{ github.actor }} +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Clone + uses: actions/checkout@v2 + - name: Install Nix + uses: cachix/install-nix-action@v15 + - name: Build + run: | + nix build --print-build-logs -v