Skip to content

Commit e44e921

Browse files
knoepfelmambelli
authored andcommitted
Update GitHub actions; pylint workaround.
1 parent d192f8f commit e44e921

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ jobs:
3131
name: Python ${{ matrix.python-version }} unit tests
3232
steps:
3333
- name: checkout code tree
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3535
with:
3636
fetch-depth: 0
3737

3838
- name: Setup python
39-
uses: actions/setup-python@v2
39+
uses: actions/setup-python@v4
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242
architecture: x64
4343

4444
- name: Cache pip
45-
uses: actions/cache@v2
45+
uses: actions/cache@v3
4646
with:
4747
# This path is specific to Ubuntu
4848
path: ~/.cache/pip
@@ -78,7 +78,7 @@ jobs:
7878
run: python3 setup.py bdist_wheel
7979

8080
- name: Start Redis Server
81-
uses: supercharge/redis-github-action@1.1.0
81+
uses: supercharge/redis-github-action@1.4.0
8282

8383
- name: Run Unit Tests on Python ${{ matrix.python-version }}
8484
timeout-minutes: 35
@@ -92,7 +92,7 @@ jobs:
9292
9393
- name: Archive unit test logs
9494
if: failure() && !cancelled()
95-
uses: actions/upload-artifact@v2
95+
uses: actions/upload-artifact@v3
9696
with:
9797
name: log_unit_test_Python_${{ matrix.python-version }}
9898
path: /tmp/*.log
@@ -108,17 +108,17 @@ jobs:
108108
needs: pytest
109109
steps:
110110
- name: checkout code tree
111-
uses: actions/checkout@v2
111+
uses: actions/checkout@v3
112112
with:
113113
fetch-depth: 0
114114

115-
- uses: actions/setup-python@v2
115+
- uses: actions/setup-python@v4
116116
with:
117117
python-version: "3.9"
118118
architecture: "x64"
119119

120120
- name: Cache pip
121-
uses: actions/cache@v2
121+
uses: actions/cache@v3
122122
with:
123123
# This path is specific to Ubuntu
124124
path: ~/.cache/pip
@@ -179,7 +179,7 @@ jobs:
179179
run: echo "::set-output name=reftag::${GITHUB_BASE_REF:+PR}"$(awk -F"/" '{print $3}' <<< ${GITHUB_REF})
180180

181181
- name: checkout code tree
182-
uses: actions/checkout@v2
182+
uses: actions/checkout@v3
183183
with:
184184
fetch-depth: 0
185185
ref: ${{github.event.inputs.ref}}
@@ -191,7 +191,7 @@ jobs:
191191
logfile: "rpmbuild.log"
192192

193193
- name: Archive rpm
194-
uses: actions/upload-artifact@v2
194+
uses: actions/upload-artifact@v3
195195
with:
196196
name: rpms-DE-${{steps.mkreftag1.outputs.reftag}}${{steps.mkreftag2.outputs.reftag}}-${{steps.mkdatetag.outputs.dtag}}
197197
path: dist/*.rpm

.pylintrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ contextmanager-decorators=contextlib.contextmanager,tf_contextlib.contextmanager
77
[MESSAGES CONTROL]
88
# Enable/disable message, report, category
99
# enable only errors
10-
errors-only=yes
11-
12-
# disable (no-member) errors
13-
disable=no-member
10+
# [KJK]: Once https://github.com/PyCQA/pylint/issues/6811 is resolved, the following set of statements should be used
11+
# errors-only=yes
12+
# disable=no-member
13+
disable=W,C,R,no-member

0 commit comments

Comments
 (0)