Skip to content

Commit a62dc01

Browse files
committed
Add debug step to find path to xml report for golangci-lint
1 parent 3ca939c commit a62dc01

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/golangci_lint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ jobs:
5353
golangci-lint-version: v${{ steps.get-version.outputs.version }}
5454
go-directory: ${{ matrix.module }}
5555

56+
- name: Debug
57+
if: ${{ always() }}
58+
run: |
59+
echo "Debugging lint results for module ${{ matrix.module }}"
60+
find . -name "golangci-lint-report.xml"
61+
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
62+
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"
65+
5666
golangci-lint:
5767
# Required sink job that waits for all lint jobs to complete
5868
if: ${{ github.event_name != 'merge_group' }}

0 commit comments

Comments
 (0)