We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f9b8c9 commit 1507e9bCopy full SHA for 1507e9b
.github/workflows/golangci-lint.yml
@@ -47,11 +47,17 @@ jobs:
47
cd ${{ matrix.dir }}
48
nix develop -c golangci-lint run ./... \
49
--config ../.golangci.yml \
50
- --output.checkstyle.path="../${{ env.REPORT_PATH }}"
+ --output.checkstyle.path="${{ env.REPORT_PATH }}"
51
52
- name: Print lint report on failure
53
if: failure()
54
- run: cat "${{ env.REPORT_PATH }}"
+ run: |
55
+ if [ -f "${{ env.REPORT_PATH }}" ]; then
56
+ cat "${{ env.REPORT_PATH }}"
57
+ else
58
+ echo "No report file found at: ${{ env.REPORT_PATH }}"
59
+ ls -la "$(dirname "${{ env.REPORT_PATH }}")"
60
+ fi
61
62
- name: Upload lint report
63
if: always()
0 commit comments