This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
Update README.md #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
flake: | |
name: Build the default package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install nix | |
uses: cachix/install-nix-action@v17 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Use cachix | |
uses: cachix/cachix-action@v10 | |
with: | |
name: quantified-uncertainty | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: nix build | |
run: nix build |