File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,27 +2,27 @@ name: Python CI
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [ main ]
66 pull_request :
7- branches : [ master ]
7+ branches : [ main ]
88
99jobs :
1010 build :
1111
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 name : Checkout code
1717
1818 - name : Set up Python
19- uses : actions/setup-python@v4
19+ uses : actions/setup-python@v5
2020 with :
21- python-version : ' 3.9 '
21+ python-version : ' 3.11 '
2222 cache : ' pip'
2323
2424 - name : Cache Hugging Face datasets
25- uses : actions/cache@v2
25+ uses : actions/cache@v4
2626 with :
2727 path : ~/.cache/huggingface
2828 key : ${{ runner.os }}-huggingface-${{ hashFiles('**/lockfiles') }}
3131
3232 - name : Install dependencies
3333 run : |
34- pip install -e . --extra-index-url https://download.pytorch.org/whl/cu118
34+ pip install -e . --extra-index-url https://download.pytorch.org/whl/cu121
35+ pip install black
3536
3637 - name : Check code formatting with black
3738 run : |
You can’t perform that action at this time.
0 commit comments