From d22c03e5698cf91324b7884d083d02f87cc9b71b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 16 Oct 2022 11:27:06 +0200 Subject: workflows/ci: upgrade actions --- .github/workflows/ci.yml | 18 ++++++++++-------- 1 file 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 -- cgit v1.2.3