Skip to content

Commit

Permalink
Update python-linting.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj authored Nov 25, 2024
1 parent 3fad2e8 commit 25446f2
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/python-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,20 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v1
- name: Set up Python
uses: actions/setup-python@v4
with:
args: "check ./GrpcInterface --fix"
python-version: '3.8' # Specify Python version

- name: Install Ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff Fix
run: |
ruff check ./GrpcInterface --fix
- uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 25446f2

Please sign in to comment.