mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
ci: fix CI checking Nix formatting
`nix fmt` by itself tries to read stdin, not `flake.nix`.
This commit is contained in:
5
.github/workflows/nix.yml
vendored
5
.github/workflows/nix.yml
vendored
@@ -24,10 +24,7 @@ jobs:
|
||||
show-progress: false
|
||||
persist-credentials: false
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- run: nix fmt
|
||||
|
||||
# Check that formatting does not change anything.
|
||||
- run: git diff --exit-code
|
||||
- run: nix fmt flake.nix -- --check
|
||||
|
||||
build:
|
||||
name: nix build
|
||||
|
||||
Reference in New Issue
Block a user