summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2022-09-28 14:13:49 +0300
committerGitHub <noreply@github.com>2022-09-28 14:13:49 +0300
commit7c6a8128660d713f11d34ed4b5652ccbd9548e52 (patch)
tree4c0b45b4196e9e0b95c263cd00e2590d467bc7d8
parent027abe524acd0aec24e92ea7eef328f983d5278c (diff)
downloadredis-py-7c6a8128660d713f11d34ed4b5652ccbd9548e52.tar.gz
Update GitHub Actions versions (#2389)
Co-authored-by: Chayim <chayim@users.noreply.github.com>
-rw-r--r--.github/workflows/codeql-analysis.yml8
-rw-r--r--.github/workflows/integration.yaml20
-rw-r--r--.github/workflows/pypi-publish.yaml4
3 files changed, 14 insertions, 18 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index b92c52f..e82e7e1 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -36,11 +36,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +51,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ uses: github/codeql-action/autobuild@v2
# ℹī¸ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -65,4 +65,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml
index 1089b27..0003930 100644
--- a/.github/workflows/integration.yaml
+++ b/.github/workflows/integration.yaml
@@ -31,9 +31,8 @@ jobs:
name: Code linters
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: install python
- uses: actions/setup-python@v4
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
@@ -55,9 +54,8 @@ jobs:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
name: Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests
steps:
- - uses: actions/checkout@v2
- - name: install python
- uses: actions/setup-python@v4
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
@@ -93,9 +91,8 @@ jobs:
matrix:
extension: ['tar.gz', 'whl']
steps:
- - uses: actions/checkout@v2
- - name: install python
- uses: actions/setup-python@v3
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Run installed unit tests
@@ -109,9 +106,8 @@ jobs:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
steps:
- - uses: actions/checkout@v2
- - name: install python ${{ matrix.python-version }}
- uses: actions/setup-python@v3
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml
index 0d100dd..3e7f801 100644
--- a/.github/workflows/pypi-publish.yaml
+++ b/.github/workflows/pypi-publish.yaml
@@ -9,9 +9,9 @@ jobs:
build_and_package:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: install python
- uses: actions/setup-python@v3
+ uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dev tools