From 9eed470fbaea197ebce3a31a2072ad9a6d530c09 Mon Sep 17 00:00:00 2001 From: Manuel Giffels Date: Thu, 16 Feb 2023 20:31:01 +0100 Subject: [PATCH] Update deprecated GitHub actions (#118) * Update deprecated GitHub actions * Fix Python3.6 unittest by using ubuntu 20.04 --- .github/workflows/publish.yml | 4 ++-- .github/workflows/unittests.yml | 8 ++++---- .github/workflows/verification.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c16f016..e4399fce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,9 +8,9 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - 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.x' - name: Install dependencies diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 0581f67f..52eb6f9a 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -4,15 +4,15 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy-3.6', 'pypy-3.7'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -24,4 +24,4 @@ jobs: pytest -v --cov timeout-minutes: 5 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 diff --git a/.github/workflows/verification.yml b/.github/workflows/verification.yml index a333c732..35a25b23 100644 --- a/.github/workflows/verification.yml +++ b/.github/workflows/verification.yml @@ -6,9 +6,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - 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.9' - name: Install dependencies