Skip to content

Commit

Permalink
CI: Clean up linting action a bit
Browse files Browse the repository at this point in the history
Remove flake8 specific name and use upstream reviewdog action for setup.
  • Loading branch information
dopplershift committed Aug 16, 2024
1 parent d9bbf12 commit 0b853ad
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ concurrency:
cancel-in-progress: true

jobs:
flake8:
name: Flake8
lint:
name: Run Lint Tools
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -27,12 +27,7 @@ jobs:
run: python -m pip install -r ci/linting_requirements.txt

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

- name: Run ruff
run: ruff check --output-format github
Expand Down

0 comments on commit 0b853ad

Please sign in to comment.