Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 425 Bytes

setup.md

File metadata and controls

24 lines (17 loc) · 425 Bytes

Setup

$ git clone git@github.com:genlayerlabs/github-actions.git
$ cd github-actions
$ nix develop

nix develop installs the git hooks into .git/hooks/. They format Nix and YAML and validate commit messages.

Run the checks the way CI does:

$ nix flake check

Format everything:

$ nix fmt

.pre-commit-config.yaml is generated by Nix and gitignored — do not edit it.