Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 680b70b

Browse filesBrowse files
committed
Use action to install reviewdog
1 parent 101ffe8 commit 680b70b
Copy full SHA for 680b70b

File tree

Expand file treeCollapse file tree

2 files changed

+3
-18
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-18
lines changed

‎.github/workflows/mypy-stubtest.yml

Copy file name to clipboardExpand all lines: .github/workflows/mypy-stubtest.yml
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ jobs:
1919
python-version: 3.9
2020

2121
- name: Set up reviewdog
22-
run: |
23-
mkdir -p "$HOME/bin"
24-
curl -sfL \
25-
https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
26-
sh -s -- -b "$HOME/bin"
27-
echo "$HOME/bin" >> $GITHUB_PATH
22+
uses: reviewdog/action-setup@v1
2823

2924
- name: Install tox
3025
run: python -m pip install tox

‎.github/workflows/reviewdog.yml

Copy file name to clipboardExpand all lines: .github/workflows/reviewdog.yml
+2-12Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ jobs:
2323
run: pip3 install -r requirements/testing/flake8.txt
2424

2525
- name: Set up reviewdog
26-
run: |
27-
mkdir -p "$HOME/bin"
28-
curl -sfL \
29-
https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
30-
sh -s -- -b "$HOME/bin"
31-
echo "$HOME/bin" >> $GITHUB_PATH
26+
uses: reviewdog/action-setup@v1
3227

3328
- name: Run flake8
3429
env:
@@ -53,12 +48,7 @@ jobs:
5348
run: pip3 install -r requirements/testing/mypy.txt -r requirements/testing/all.txt
5449

5550
- name: Set up reviewdog
56-
run: |
57-
mkdir -p "$HOME/bin"
58-
curl -sfL \
59-
https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
60-
sh -s -- -b "$HOME/bin"
61-
echo "$HOME/bin" >> $GITHUB_PATH
51+
uses: reviewdog/action-setup@v1
6252

6353
- name: Run mypy
6454
env:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.