ci: use gst-indent from docker image
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 15 Jun 2020 12:06:59 +0000 (14:06 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 3 Jul 2020 09:47:27 +0000 (09:47 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/318>

gitlab/ci_template.yml

index a74b3b1..7f81c55 100644 (file)
@@ -337,9 +337,7 @@ gst indent:
   script:
     # man indent. grep RETURN VALUE, grab a beer on my behalf...
     - indent --version || true
-    - curl -L -o gst-indent https://gitlab.freedesktop.org/gstreamer/gstreamer/raw/${GST_UPSTREAM_BRANCH}/tools/gst-indent
-    - chmod +x gst-indent
-    - find . -name '*.c' -exec ./gst-indent {} +
+    - find . -name '*.c' -exec gst-indent {} +
     - |
       if git diff --quiet; then
           echo "Code is properly formatted"