Skip to content

Commit 09190b7

Browse files
committed
Update Python version used in ci.yml
1 parent ac1c1c8 commit 09190b7

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: ci
22

3-
on: [push]
3+
on: [ push ]
44
jobs:
55
compile:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout repo
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v6
1010
- name: Set up python
11-
uses: actions/setup-python@v4
11+
uses: actions/setup-python@v6
1212
with:
13-
python-version: 3.8
13+
python-version: 3.10
1414
- name: Bootstrap poetry
1515
run: |
1616
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
@@ -22,11 +22,11 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout repo
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v6
2626
- name: Set up python
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v6
2828
with:
29-
python-version: 3.8
29+
python-version: 3.10
3030
- name: Bootstrap poetry
3131
run: |
3232
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
@@ -37,16 +37,16 @@ jobs:
3737
run: poetry run pytest -rP .
3838

3939
publish:
40-
needs: [compile, test]
40+
needs: [ compile, test ]
4141
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Checkout repo
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v6
4646
- name: Set up python
47-
uses: actions/setup-python@v4
47+
uses: actions/setup-python@v6
4848
with:
49-
python-version: 3.8
49+
python-version: 3.10
5050
- name: Bootstrap poetry
5151
run: |
5252
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1

0 commit comments

Comments
 (0)