Skip to content

Commit

Permalink
Update Python version to 3.11 in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
baruchiro committed Dec 3, 2023
1 parent ad3c180 commit d400f8d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# https://github.com/nodejs/node-gyp/issues/2869
- run: python3 -m pip install packaging
- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -41,8 +43,10 @@ jobs:

steps:
- uses: actions/checkout@v4
# https://github.com/nodejs/node-gyp/issues/2869
- run: python3 -m pip install packaging
- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -82,8 +86,10 @@ jobs:

steps:
- uses: actions/checkout@v4
# https://github.com/nodejs/node-gyp/issues/2869
- run: python3 -m pip install packaging
- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:

steps:
- uses: actions/checkout@v4
# https://github.com/nodejs/node-gyp/issues/2869
- run: python3 -m pip install packaging
- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: yarn --network-timeout 100000
- uses: cycjimmy/semantic-release-action@8f6ceb9d5aae5578b1dcda6af00008235204e7fa
id: semantic
Expand All @@ -48,8 +50,10 @@ jobs:

steps:
- uses: actions/checkout@v4
# https://github.com/nodejs/node-gyp/issues/2869
- run: python3 -m pip install packaging
- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit d400f8d

Please sign in to comment.