Skip to content

Commit

Permalink
GitHb action to lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
Monarda committed Sep 12, 2024
1 parent be46afb commit d846f6b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
on: push

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install [.test]
- run: |
ruff check --no-fix
ruff format --diff
build:
name: Build distribution 📦
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down

0 comments on commit d846f6b

Please sign in to comment.