Skip to content

Commit

Permalink
Add Ruff linter workflow to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
geordi committed Mar 6, 2024
1 parent b411d1e commit 7912c00
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Ruff
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
# Update output format to enable automatic inline annotations.
- name: Run Ruff
run: ruff check --output-format=github api common survey web

0 comments on commit 7912c00

Please sign in to comment.