Skip to content

Commit b945cf7

Browse files
Update CI versions
1 parent 39eec6f commit b945cf7

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/python_ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ name: Python CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
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') }}
@@ -31,7 +31,8 @@ jobs:
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: |

0 commit comments

Comments
 (0)