From 823612498f295658fa98d58aa09db7462433aa9c Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 6 Mar 2022 20:55:15 +0200 Subject: [PATCH 1/3] CI: update actions * actions/checkout to v3 * actions/setup-python to v3 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7da607901..a2b3c752d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,10 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} cache: pip diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8e58729a1..0865cab95 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Initialize CodeQL uses: github/codeql-action/init@v1 From 491f45e017a3650c8c641dc16bde9aa56ff22915 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 7 Mar 2022 08:53:37 +0200 Subject: [PATCH 2/3] CI: remove Python cache Since we are still testing obsolete/unsupported Python versions, this is a workaround for the Windows Python 3.5 error. It should be reverted later when support for Python 3.5 is dropped. --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2b3c752d..0d8472e0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,6 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} - cache: pip - run: python --version - run: pip --version From 071a3a1e0e6d81425d3cae8901410151daf07f55 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 7 Mar 2022 08:58:22 +0200 Subject: [PATCH 3/3] CI: combine version steps --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d8472e0e..eaf451632 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,8 +34,10 @@ jobs: with: python-version: ${{ matrix.python }} - - run: python --version - - run: pip --version + - name: Print versions + run: | + python --version + pip --version - name: Install Python dependencies run: pip install -r requirements.txt