From f4ef5a7e6a4e5b034422e6f03d2e0c4383b7c248 Mon Sep 17 00:00:00 2001 From: Kyle Chui Date: Sat, 17 Feb 2024 15:32:24 -0800 Subject: [PATCH] ci: Automatically build for new pushes/pull requests. --- .github/workflows/integration.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 0000000..547c567 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,22 @@ +name: CI + +on: + workflow_dispatch: + push: + branches: [main] + pull_request: + branches: ['**'] # Run workflows for pull requests to *any* branch + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install Nix + uses: cachix/install-nix-action@25 + + - name: Build release + run: nix develop --command make