mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
14 lines
367 B
YAML
14 lines
367 B
YAML
name: Lint Python code with ruff
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint Python code with ruff
|
|
runs-on: ubuntu-latest
|
|
if:
|
|
github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: pip install --user ruff
|
|
- run: python -m ruff check . |