Skip to content

Update to NDC Spec v0.2.0-rc.1 (#38) #173

Update to NDC Spec v0.2.0-rc.1 (#38)

Update to NDC Spec v0.2.0-rc.1 (#38) #173

Workflow file for this run

name: Nix
on: push
jobs:
nix-build:
name: nix build
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Install Nix ❄
uses: DeterminateSystems/nix-installer-action@v9
- name: Run the Magic Nix Cache πŸ”Œ
uses: DeterminateSystems/magic-nix-cache-action@v3
- name: Build the package
run: nix build
nix-flake-check:
name: nix flake check
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Install Nix ❄
uses: DeterminateSystems/nix-installer-action@v9
- name: Run the Magic Nix Cache πŸ”Œ
uses: DeterminateSystems/magic-nix-cache-action@v3
- name: Check the flake for errors
run: nix flake check
nix-fmt:
name: nix fmt
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Install Nix ❄
uses: DeterminateSystems/nix-installer-action@v9
- name: Run the Magic Nix Cache πŸ”Œ
uses: DeterminateSystems/magic-nix-cache-action@v3
- name: Check the formatting
run: nix fmt -- --check .
evaluate-nix-shell:
name: Evaluate the Nix shell
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Install Nix ❄
uses: DeterminateSystems/nix-installer-action@v9
- name: Run the Magic Nix Cache πŸ”Œ
uses: DeterminateSystems/magic-nix-cache-action@v3
- name: Evaluate the Nix shell
run: nix develop -c "true"