Skip to content

Commit 50be3f4

Browse files
committed
ci: Correct the pylint badge generation step
1 parent 3915a4d commit 50be3f4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- name: Generate Pylint Badge
9494
id: generate-badge
9595
run: |
96-
score=$(tail -n 1 pylint-report.txt | grep -oP '\d+\.\d+')
96+
score=$(grep -oP 'Your code has been rated at \K[0-9]+\.[0-9]+' pylint-report.txt)
9797
if [ -z "$score" ]; then
9898
score="0.0"
9999
fi

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ RUN apt-get update && \
1919
apt-get install -y --no-install-recommends git && \
2020
pip install --no-cache-dir -r /steam-stats/requirements.txt && \
2121
apt-get purge -y --auto-remove && \
22-
playwright uninstall chromium && \
2322
apt-get clean && \
2423
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2524

0 commit comments

Comments
 (0)