Skip to content

Commit c6979fb

Browse files
committed
Beef up debugging
1 parent a62dc01 commit c6979fb

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/golangci_lint.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,24 @@ jobs:
5757
if: ${{ always() }}
5858
run: |
5959
echo "Debugging lint results for module ${{ matrix.module }}"
60-
find . -name "golangci-lint-report.xml"
6160
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
6261
echo "Current working directory: $(pwd)"
63-
echo "Looking for golangci-lint-report.xml files from workspace root:"
64-
find "$GITHUB_WORKSPACE" -name "golangci-lint-report.xml"
62+
echo ""
63+
echo "=== Searching for all XML files from workspace root ==="
64+
find "$GITHUB_WORKSPACE" -name "*.xml" -type f 2>/dev/null || echo "No XML files found"
65+
echo ""
66+
echo "=== Checking expected location ==="
67+
if [ -f "./pkg/chipingress/golangci-lint-report.xml" ]; then
68+
echo "✓ File EXISTS at ./pkg/chipingress/golangci-lint-report.xml"
69+
ls -lh "./pkg/chipingress/golangci-lint-report.xml"
70+
echo "Contents:"
71+
cat "./pkg/chipingress/golangci-lint-report.xml"
72+
else
73+
echo "✗ File DOES NOT EXIST at ./pkg/chipingress/golangci-lint-report.xml"
74+
fi
75+
echo ""
76+
echo "=== Listing all files in chipingress directory ==="
77+
ls -la "./pkg/chipingress/" || echo "Directory doesn't exist"
6578
6679
golangci-lint:
6780
# Required sink job that waits for all lint jobs to complete

0 commit comments

Comments
 (0)