Skip to content

Merge pull request #7 from amadejkastelic/crate #8

Merge pull request #7 from amadejkastelic/crate

Merge pull request #7 from amadejkastelic/crate #8

Workflow file for this run

name: nix
on:
push:
branches:
- main
pull_request:
jobs:
nix:
name: check
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Alejandra
uses: luisnquin/[email protected]
- name: Check formatting
run: alejandra --check .
- name: Install nix action
uses: cachix/install-nix-action@v20
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
experimental-features = nix-command flakes
- name: Flake check
run: nix flake check