Skip to content

Commit dc2a6ea

Browse files
unknownunknown
authored andcommitted
Fix: install reviewdog binary via official installer (not pip)
1 parent 3f5cc3f commit dc2a6ea

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pr-review.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ jobs:
2424
- name: Install linters
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install flake8 pylint bandit reviewdog
27+
pip install flake8 pylint bandit
28+
29+
- name: Install reviewdog
30+
run: |
31+
# reviewdog is not a Python package; install the binary using the official installer
32+
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin v0.13.0
2833
2934
- name: Determine changed Python files
3035
id: changes

0 commit comments

Comments
 (0)