Skip to content

Commit

Permalink
ci: 🎡 Add duplication report
Browse files Browse the repository at this point in the history
  • Loading branch information
kamack38 committed Jan 27, 2024
1 parent ddec062 commit cbe0bb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
uses: actions/checkout@v4
- name: 💄 Run lint
run: cargo clippy
- name: Create duplication report
run: |
npx jscpd -g -r 'markdown'> output
printf '%s\n%s\n' "$(cat report/jscpd-report.md)" "$(cat output)" >> $GITHUB_STEP_SUMMARY
- name: 🔧 Build
run: cargo build --verbose
- name: 🧪 Run tests
Expand Down

0 comments on commit cbe0bb9

Please sign in to comment.