Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjio committed Aug 26, 2023
1 parent 971bae0 commit 9ead585
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test matrix
on:
push:
branches:
- master
pull_request:

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/master'
steps:
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Build and Test
run: nix-build --experimental-features 'nix-command flakes'

0 comments on commit 9ead585

Please sign in to comment.