mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +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
|
show-progress: false
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
- run: nix fmt
|
- run: nix fmt flake.nix -- --check
|
||||||
|
|
||||||
# Check that formatting does not change anything.
|
|
||||||
- run: git diff --exit-code
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: nix build
|
name: nix build
|
||||||
|
|||||||
Reference in New Issue
Block a user