add github actions
This commit is contained in:
parent
70bbbb3c99
commit
7ae9f6ded3
6 changed files with 41 additions and 16 deletions
20
.github/workflows/nixos.yml
vendored
Normal file
20
.github/workflows/nixos.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: NixOS
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.2
|
||||
|
||||
- name: "Install Nix ❄️"
|
||||
uses: cachix/install-nix-action@v15
|
||||
|
||||
- name: "Install Cachix ❄️"
|
||||
uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: 0x76-infra
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
|
||||
- name: "Build NixOS config ❄️"
|
||||
run: |
|
||||
nix run '.#' build
|
Loading…
Add table
Add a link
Reference in a new issue