diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..56dd55a --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,19 @@ +name: "CI" +on: + # Run only when pushing to master branch, and making PRs + push: + branches: + - master + pull_request: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + - uses: cachix/cachix-action@v12 + with: + name: srid + - name: Build 🔨 + run: nix run github:srid/nixci