Merge pull request #2516 from berryzplus/feature/use_winget_for_ctags #867
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 Encoding | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**/*.md' | |
| - '.gitignore' | |
| - '.editorconfig' | |
| pull_request: | |
| paths-ignore: | |
| - '**/*.md' | |
| - '.gitignore' | |
| - '.editorconfig' | |
| workflow_dispatch: | |
| jobs: | |
| check-encoding: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 # 過去の履歴も含めて全て取得 (checkEncoding.py で origin/master にアクセスするため) | |
| - name: Show environment variables for debug | |
| run: set | |
| shell: cmd | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ vars.PYTHON_VERSION || '3.14.3' }} | |
| cache: 'pip' | |
| - run: pip install -r requirements.txt | |
| - name: Python version check | |
| run: python --version | |
| shell: cmd | |
| - name: Check encoding | |
| run: python checkEncoding.py | |
| shell: cmd |