|
@@ -24,11 +24,14 @@ jobs:
|
|
python-version: '3.10'
|
|
python-version: '3.10'
|
|
|
|
|
|
- name: Python dependencies
|
|
- name: Python dependencies
|
|
- run: pip install ruff
|
|
|
|
|
|
+ run: pip install ruff dotenv-linter
|
|
|
|
|
|
- name: Ruff check
|
|
- name: Ruff check
|
|
run: ruff check ./api
|
|
run: ruff check ./api
|
|
|
|
|
|
|
|
+ - name: Dotenv check
|
|
|
|
+ run: dotenv-linter ./api/.env.example ./web/.env.example
|
|
|
|
+
|
|
- name: Lint hints
|
|
- name: Lint hints
|
|
if: failure()
|
|
if: failure()
|
|
run: echo "Please run 'dev/reformat' to fix the fixable linting errors."
|
|
run: echo "Please run 'dev/reformat' to fix the fixable linting errors."
|