Skip to content

Commit

Permalink
remove old diff logic
Browse files Browse the repository at this point in the history
  • Loading branch information
porter-stripe committed Sep 26, 2024
1 parent 811e222 commit 6cc40f2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/find-dead-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ jobs:
periphery scan --config .periphery.yml 2>&1 | sed -E 's#.*/##; s/:[0-9]+:[0-9]+:/: /' | grep 'is unused' | sort > periphery_report_master_formatted_sorted.txt
ruby ci_scripts/dead_code/process_periphery_output.rb periphery_report_master_formatted_sorted.txt unused_code_master.json
# Compare the formatted reports
diff_output=$(comm -13 periphery_report_master_formatted_sorted.txt periphery_report_feature_formatted_sorted.txt)
# If there is a difference, output it
if [ -n "$diff_output" ]; then
echo "diff<<EOF" >> $GITHUB_ENV
echo "$diff_output" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
fi
- name: Compare Unused Code JSON Files
id: compare-dead-code
run: |
Expand Down

0 comments on commit 6cc40f2

Please sign in to comment.