Add github actions config

This commit is contained in:
Sridhar Ratnakumar 2023-07-18 11:26:28 -04:00
parent 978bbbc408
commit bccf50495d

19
.github/workflows/ci.yaml vendored Normal file
View File

@ -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