summaryrefslogtreecommitdiff
path: root/.forgejo/workflows/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.forgejo/workflows/lint.yml')
-rw-r--r--.forgejo/workflows/lint.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml
index 626305c..702b348 100644
--- a/.forgejo/workflows/lint.yml
+++ b/.forgejo/workflows/lint.yml
@@ -25,7 +25,7 @@ jobs:
25 # Hide time-machine STDERR 25 # Hide time-machine STDERR
26 export PACKAGES=$(guix time-machine -C channels-head.scm -- diff -r -C channels-base.scm 2> /dev/null) 26 export PACKAGES=$(guix time-machine -C channels-head.scm -- diff -r -C channels-base.scm 2> /dev/null)
27 # Lint all packages at once 27 # Lint all packages at once
28 if [[ -z "$PACKAGES" ]] ; then echo "No packages to lint" && exit 0 ; else echo "Linting $PACKAGES" ; export LINT="$(guix time-machine -C channels-head.scm -- lint $PACKAGES)" ; fi 28 if [[ -z "$PACKAGES" ]] ; then echo "No packages to lint" && exit 0 ; else echo "Linting $PACKAGES" ; export LINT="$(guix time-machine -C channels-head.scm -- lint -x archival $PACKAGES)" ; guix time-machine -C channels-head.scm -- lint -c archival $PACKAGES ; fi
29 # Exit with error when lint writes on STDOUT. 29 # Exit with error when lint writes on STDOUT.
30 if [[ -z "$LINT" ]] ; then echo "No lint warning for packages $PACKAGES" ; else echo "$LINT" && exit 1 ; fi 30 if [[ -z "$LINT" ]] ; then echo "No lint warning for packages $PACKAGES" ; else echo "$LINT" && exit 1 ; fi
31 31