Update changelog #169
Workflow file for this run
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 | |
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" |