Codechange: validate that all STR_NNN strings are defined and used (#9518)

This commit is contained in:
Patric Stout
2021-09-02 22:32:10 +02:00
committed by GitHub
parent 92559e6f3a
commit 9c74dc2468
3 changed files with 667 additions and 118 deletions

18
.github/workflows/unused-strings.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Unused strings
on:
pull_request:
jobs:
unused-strings:
name: Unused strings
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check for unused strings
run: |
set -ex
python3 .github/unused-strings.py