ci: add github-actions
This commit is contained in:
parent
7d21997381
commit
86f98e734f
1 changed files with 23 additions and 0 deletions
23
.github/workflows/nix.yml
vendored
Normal file
23
.github/workflows/nix.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Nix
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v12
|
||||
- uses: cachix/cachix-action@v8
|
||||
with:
|
||||
name: nix-community
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: ./build
|
||||
env:
|
||||
- NIX_PATH=channel:nixos-unstable
|
Loading…
Add table
Add a link
Reference in a new issue