Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70b2141

Browse files
committed
Wrap reviewdog yaml.
1 parent b8083ec commit 70b2141

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/reviewdog.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ jobs:
1818

1919
- name: Set up reviewdog
2020
run: |
21-
mkdir -p $HOME/bin && curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $HOME/bin
21+
mkdir -p $HOME/bin
22+
curl -sfL \
23+
https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
24+
sh -s -- -b $HOME/bin
2225
echo ::add-path::$HOME/bin
2326
2427
- name: Run flake8
2528
env:
2629
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2730
run: |
28-
flake8 --docstring-convention=all | reviewdog -f=pep8 -name=flake8 -reporter=github-check
31+
flake8 --docstring-convention=all | \
32+
reviewdog -f=pep8 -name=flake8 -reporter=github-check

0 commit comments

Comments
 (0)