aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-16 11:27:06 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-16 11:27:06 +0200
commitd22c03e5698cf91324b7884d083d02f87cc9b71b (patch)
tree3dd71eba8e7b8ab97e943d76dfba7d6d56becd28 /.github/workflows
parentworkflows/ci: limit max number of parallel jobs (diff)
downloadvk-scripts-d22c03e5698cf91324b7884d083d02f87cc9b71b.tar.gz
vk-scripts-d22c03e5698cf91324b7884d083d02f87cc9b71b.zip
workflows/ci: upgrade actions
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b5a5740..8b9de56 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,7 +16,7 @@ jobs:
test:
strategy:
matrix:
- python-version: [3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.x]
+ python-version: ['3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
# Random number to prevent exceeding the request frequency limit.
max-parallel: 3
# 3.4 is not available on Focal.
@@ -24,9 +24,9 @@ jobs:
name: 'Python ${{ matrix.python-version }}'
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: '${{ matrix.python-version }}'
- name: Install dependencies
@@ -40,17 +40,19 @@ jobs:
name: Publish
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.10'
- name: Verify package can be installed
- run: python3 -m pip install .
+ run: pip install .
- name: Install package builder
- run: python3 -m pip install --upgrade build
+ run: pip install --upgrade build
- name: Build package
run: python3 -m build
- name: Publish as artifact
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: dist
path: dist