Update 音韻地位 and 校勘標記 to TshetUinh.js v0.16 standard in 王三反切音韻地位表.csv #140
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check | |
| on: | |
| push: | |
| paths-ignore: | |
| - '*.md' | |
| pull_request: | |
| paths-ignore: | |
| - '*.md' | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Verify that 廣韻.csv is built from current source | |
| shell: bash | |
| run: | | |
| tmpdir="$(mktemp -d -p ~)" | |
| mv 韻書/廣韻.csv "$tmpdir" | |
| python build.py | |
| diff "$tmpdir"/廣韻.csv 韻書/廣韻.csv | |
| - name: Run check script | |
| run: python check.py |