mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 01:59:45 +01:00
ci: error out if code contains literalExample
This commit is contained in:
parent
7f416c9e2f
commit
c678162e20
1 changed files with 5 additions and 0 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -19,6 +19,11 @@ jobs:
|
|||
with:
|
||||
name: nix-community
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: |
|
||||
if grep -R --exclude stdlib-extended.nix literalExample modules ; then
|
||||
echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
- run: ./format -c
|
||||
- run: nix-shell . -A install
|
||||
- run: nix-shell --arg enableBig false --pure tests -A run.all
|
||||
|
|
Loading…
Reference in a new issue