aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-12-20 09:53:13 +0100
committerRobin Jarry <robin@jarry.cc>2022-12-20 09:53:53 +0100
commit060fbb04a436ce4ec0937384e177aa16524332a2 (patch)
tree3ae99b22391a9c71d8c4f91c3d205518c0bb7a11
parent7e65dd9ae8906a1e61ac544513aa850ae079a77e (diff)
downloadaerc-060fbb04a436ce4ec0937384e177aa16524332a2.tar.gz
ci: move check-patches at the end of pipelines
This is less important than reporting actual coding errors. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
-rw-r--r--.builds/alpine-edge.yml6
-rwxr-xr-xcontrib/sendemail-validate2
2 files changed, 4 insertions, 4 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
index e77062a4..0d795595 100644
--- a/.builds/alpine-edge.yml
+++ b/.builds/alpine-edge.yml
@@ -11,9 +11,6 @@ environment:
DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
tasks:
- - check-patches: |
- cd aerc
- make check-patches
- lint: |
cd aerc
make lint
@@ -33,3 +30,6 @@ tasks:
cd aerc
make clean
make
+ - check-patches: |
+ cd aerc
+ make check-patches
diff --git a/contrib/sendemail-validate b/contrib/sendemail-validate
index be0c3ad3..4ced8107 100755
--- a/contrib/sendemail-validate
+++ b/contrib/sendemail-validate
@@ -15,5 +15,5 @@ git clone -q --depth=1 "https://git.sr.ht/~rjarry/aerc" "$tmp" ||
export GIT_DIR="$tmp/.git"
git -C "$tmp" am -q3 "$email" ||
die "Failed to apply patch on current upstream master branch. git pull --rebase?"
-make -sC "$tmp" check-patches all lint tests ||
+make -sC "$tmp" all lint tests check-patches ||
die "Please fix the above issues and amend your patch."