File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Check Encoding
2+
3+ on :
4+ push :
5+ paths-ignore :
6+ - ' **/*.md'
7+ - ' .gitignore'
8+ - ' .editorconfig'
9+ - ' appveyor.yml'
10+ pull_request :
11+ paths-ignore :
12+ - ' **/*.md'
13+ - ' .gitignore'
14+ - ' .editorconfig'
15+ - ' appveyor.yml'
16+ workflow_dispatch :
17+
18+ jobs :
19+ check-encoding :
20+ runs-on : windows-latest
21+ steps :
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0 # 過去の履歴も含めて全て取得 (checkEncoding.py で origin/master にアクセスするため)
26+
27+ - name : Show environment variables for debug
28+ run : set
29+ shell : cmd
30+
31+ - name : Set up Python ${{ matrix.python-version }}
32+ uses : actions/setup-python@v5
33+ with :
34+ python-version : ' 3.x'
35+
36+ - name : Python version check
37+ run : python --version
38+ shell : cmd
39+
40+ - name : Install chardet
41+ run : pip install chardet --user
42+ shell : cmd
43+
44+ - name : Check encoding
45+ run : python checkEncoding.py
46+ shell : cmd
You can’t perform that action at this time.
0 commit comments