Skip to content

Commit

Permalink
Ruff Action
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Sep 4, 2024
1 parent c67579e commit 96fc243
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/continuous-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,11 @@ jobs:
name: Checkout
uses: actions/checkout@v4

- id: setup-python
name: Setup Python
uses: actions/setup-python@v5
- id: ruff
name: Lint with Ruff
uses: chartboost/ruff-action@v1
with:
python-version: '3.11'
cache: 'pipenv'

- id: install-pipenv
name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
shell: bash

- id: install-python-dependencies
name: Install Python dependencies
run: pipenv sync --dev
shell: bash

- id: lint
name: Lint Python code
run: pipenv run flake8 ./ --verbose
shell: bash
args: 'format --check'

mypy-python:
name: Static-types check
Expand Down

0 comments on commit 96fc243

Please sign in to comment.