Skip to content

Commit 31cdd2a

Browse files
committed
wip
1 parent 666e616 commit 31cdd2a

File tree

1 file changed

+11
-0
lines changed
  • .github/actions/clippy-annotation-reporter

1 file changed

+11
-0
lines changed

.github/actions/clippy-annotation-reporter/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ runs:
3535
run: |
3636
cd ${{ github.action_path }}
3737
cargo build --release
38+
- name: Debug step
39+
shell: bash
40+
run: |
41+
FILE_PATH="data-pipeline/src/trace_exporter.mod.rs"
42+
43+
echo "Direct branch comparison for $FILE_PATH:"
44+
echo "==== BASE BRANCH ===="
45+
git show "origin/main:$FILE_PATH" | grep -c "#\[allow(clippy::unwrap_used"
46+
47+
echo "==== HEAD BRANCH ===="
48+
git show "HEAD:$FILE_PATH" | grep -c "#\[allow(clippy::unwrap_used"
3849
3950
- name: Run annotation reporter
4051
shell: bash

0 commit comments

Comments
 (0)