Skip to content

Commit ecedc08

Browse files
committed
polish(nyz): polish ci python version
1 parent fea4b9e commit ecedc08

6 files changed

Lines changed: 18 additions & 16 deletions

File tree

‎.github/workflows/algo_test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
if: "!contains(github.event.head_commit.message, 'ci skip')"
1717
strategy:
1818
matrix:
19-
python-version: [3.7, 3.8, 3.9]
19+
python-version: [3.8, 3.9]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: do_algotest

‎.github/workflows/envpool_test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
if: "!contains(github.event.head_commit.message, 'ci skip')"
1212
strategy:
1313
matrix:
14-
python-version: [3.7, 3.8] # Envpool only supports python>=3.7
14+
python-version: [3.8] # Envpool only supports python>=3.7
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: do_envpool_test

‎.github/workflows/platform_test.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
python-version: [3.8, 3.9]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
2123
- name: do_platform_test
2224
timeout-minutes: 30
2325
run: |

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
matrix:
1212
os:
1313
- ubuntu-latest
14-
python-version: [3.7]
14+
python-version: [3.8]
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
- name: Set up python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Set up python dependences

‎.github/workflows/release_conda.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || contains(github.event.head_commit.message, 'conda'))
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- name: publish-to-conda
1212
uses: fcakyon/conda-publish-action@v1.3
1313
with:

‎.github/workflows/unit_test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
python-version: [3.7, 3.8, 3.9]
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: do_unittest
@@ -50,9 +50,9 @@ jobs:
5050
python-version: [3.7, 3.8, 3.9]
5151

5252
steps:
53-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v4
5454
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v2
55+
uses: actions/setup-python@v5
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858
- name: do_benchmark

0 commit comments

Comments
 (0)