mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
Use reviewdog GitHub Action for setup in linter workflow.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
5
.github/workflows/run-linter.yml
vendored
5
.github/workflows/run-linter.yml
vendored
@@ -23,15 +23,14 @@ jobs:
|
|||||||
python-version: '3.13'
|
python-version: '3.13'
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Setup reviewdog
|
- name: Setup reviewdog
|
||||||
run: |
|
uses: reviewdog/action-setup@e04ffabe3898a0af8d0fb1af00c188831c4b5893 # v1.3.2
|
||||||
/usr/bin/sh ci/reviewdog_install.sh -b ./bin/ v0.20.3
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -U pip tox wheel setuptools coveralls coverage[toml]
|
pip install -U pip tox wheel setuptools coveralls coverage[toml]
|
||||||
pip install .[check]
|
pip install .[check]
|
||||||
- name: run reviewdog
|
- name: run reviewdog
|
||||||
run: |
|
run: |
|
||||||
./bin/reviewdog -runners=flake8,mypy -reporter=github-pr-review -conf=.reviewdog.yml
|
reviewdog -runners=flake8,mypy -reporter=github-pr-review -conf=.reviewdog.yml
|
||||||
env:
|
env:
|
||||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user