Skip to content

Commit 4183a17

Browse files
committed
fix: update CI script
1 parent 9ad4ffd commit 4183a17

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/build.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
name: build
22
on:
33
push:
4-
branches:
5-
- master
4+
branches: [master]
65
pull_request:
7-
branches: [ master ]
6+
branches: [master]
87

98
jobs:
109
test:
1110
runs-on: ${{ matrix.os }}
1211
strategy:
1312
fail-fast: false
1413
matrix:
15-
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
16-
os: [ ubuntu-18.04, macOS-latest, windows-latest ]
14+
python-version: ['3.9', '3.10', '3.11']
15+
os: [ubuntu-latest, macOS-latest, windows-latest]
1716

1817
steps:
1918
- name: Checkout
@@ -78,17 +77,17 @@ jobs:
7877
fetch-depth: 0
7978

8079
- name: Setup Node.js
81-
uses: actions/setup-node@v1
80+
uses: actions/setup-node@v2
8281
with:
83-
node-version: '16'
82+
node-version: '18'
8483

8584
- name: Setup
8685
run: npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi
8786

8887
- name: Set up python
89-
uses: actions/setup-python@v2
88+
uses: actions/setup-python@v4
9089
with:
91-
python-version: 3.8
90+
python-version: 3.11
9291

9392
- name: Install setuptools
9493
run: python -m pip install --upgrade setuptools wheel twine

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
"Programming Language :: Python :: 3",
4343
"Programming Language :: Python :: 3.7",
4444
"Programming Language :: Python :: 3.8",
45+
"Programming Language :: Python :: 3.9",
46+
"Programming Language :: Python :: 3.10",
47+
"Programming Language :: Python :: 3.11",
4548
"License :: OSI Approved :: Apache Software License",
4649
"Operating System :: OS Independent",
4750
],

0 commit comments

Comments
 (0)