From e72270755a25b5259f99d6e1855bf10926a2dc5d Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Fri, 11 Feb 2022 17:14:27 +0100
Subject: [PATCH] Use set -x to better see what happens

---
 .github/workflows/lint.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 61e3d99..7ef19e5 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -71,15 +71,19 @@ jobs:
             womtool validate $WDL_FILE
           done
       - name: run miniwdl check
-        run: bash -c 'miniwdl check $(git ls-files *.wdl)'
+        run: |
+          set -x
+          bash -c 'miniwdl check $(git ls-files *.wdl)'
 
       - name: Check copyright headers
         run: | 
+          set -x
           for WDL_FILE in $(git diff --name-only origin/${{github.base_ref}} | grep -E '*.wdl$'); do
             grep Copyright $WDL_FILE || bash -c "echo No copyright header in $WDL_FILE && exit 1"
           done
       - name: Check parameter_meta for inputs
         run: |
+          set -x
           for WDL_FILE in $(git diff --name-only origin/${{github.base_ref}} | grep -E '*.wdl$'); do
             wdl-aid --strict $WDL_FILE > /dev/null 2> wdl-aid_stderr || 
             if grep -z  'ValueError: Missing parameter_meta for inputs:' wdl-aid_stderr
-- 
GitLab