Skip to content

Commit

Permalink
fix cleanliness CI
Browse files Browse the repository at this point in the history
  • Loading branch information
okBrian committed Nov 5, 2024
1 parent 8aaf0d6 commit 4165004
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/cleanliness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,33 @@ jobs:
- name: Unused Variables Diff
run: |
grep -F 'Wunused-variable' master.txt > mUnused.txt
grep -F 'Wunused-variable' pr.txt > prUnused.txt
grep -F 'Wunused-variable' master.txt > mUnused.txt || true
grep -F 'Wunused-variable' pr.txt > prUnused.txt || true
diff prUnused.txt mUnused.txt || true
- name: Unused Dummy Arguments Diff
run: |
grep -F 'Wunused-dummy-argument' pr.txt > prDummy.txt
grep -F 'Wunused-dummy-argument' master.txt > mDummy.txt
grep -F 'Wunused-dummy-argument' pr.txt > prDummy.txt || true
grep -F 'Wunused-dummy-argument' master.txt > mDummy.txt || true
diff prDummy.txt mDummy.txt || true
- name: Unused Value Diff
run: |
grep -F 'Wunused-value' pr.txt > prUnused_val.txt
grep -F 'Wunused-value' master.txt > mUnused_val.txt
grep -F 'Wunused-value' pr.txt > prUnused_val.txt || true
grep -F 'Wunused-value' master.txt > mUnused_val.txt || true
diff prUnused_val.txt mUnused_val.txt || true
- name: Maybe Uninitialized Variables Diff
run: |
grep -F 'Wmaybe-uninitialized' pr.txt > prMaybe.txt
grep -F 'Wmaybe-uninitialized' master.txt > mMaybe.txt
grep -F 'Wmaybe-uninitialized' pr.txt > prMaybe.txt || true
grep -F 'Wmaybe-uninitialized' master.txt > mMaybe.txt || true
diff prMaybe.txt mMaybe.txt || true
- name: Everything Diff
run: |
grep '\-W' pr.txt > pr_every.txt
grep '\-W' master.txt > m_every.txt
grep '\-W' pr.txt > pr_every.txt || true
grep '\-W' master.txt > m_every.txt || true
diff pr_every.txt m_every.txt || true
- name: List of Warnings
Expand Down

0 comments on commit 4165004

Please sign in to comment.