Skip to content

Commit

Permalink
Bring latest periphery.yml into master
Browse files Browse the repository at this point in the history
  • Loading branch information
porter-stripe committed Sep 26, 2024
1 parent 3672d3d commit 035966f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/find-dead-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ jobs:
# Run Periphery scan with the configuration file
periphery scan --config .periphery.yml 2>&1 | sed -E 's#.*/##; s/:[0-9]+:[0-9]+:/: /' | grep 'is unused' | sort > periphery_report_feature_formatted_sorted.txt
- name: Copy .periphery.yml to temporary location
run: cp .periphery.yml /tmp/periphery.yml

- name: Compare Periphery output with master baseline
id: compare-dead-code
run: |
git fetch origin master:master
git checkout master
cp /tmp/periphery.yml .periphery.yml
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
# Compare the formatted reports
Expand Down

0 comments on commit 035966f

Please sign in to comment.