Skip to content

Commit 70c9918

Browse files
committed
update workflow
1 parent 881563a commit 70c9918

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/backend.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,24 @@ jobs:
3939
name: Build
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v5
4343
- name: Set up JDK 17
44-
uses: actions/setup-java@v2
44+
uses: actions/setup-java@v5
4545
with:
4646
java-version: 17
4747
distribution: 'temurin'
4848
- name: Install Protoc
4949
run: sudo apt install -y protobuf-compiler
50-
- uses: actions/cache@v4
50+
- name: Set up Python
51+
uses: actions/setup-python@v5
52+
with:
53+
python-version: '3.11'
54+
cache: 'pip'
55+
- name: Install Python dependencies
56+
run: |
57+
python -m pip install --upgrade pip
58+
pip install -r python/src/pywy/requirements.txt
59+
- uses: actions/cache@v5
5160
with:
5261
path: ~/.m2/repository
5362
key: ${{ runner.os }}-maven

python/src/pywy/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# we support python 3.11
2+
numpy==2.3.0
3+
cloudpickle==3.0.0

0 commit comments

Comments
 (0)