File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
project_name/.github/workflows Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 8080 - name: Run mypy
8181 run: uv run --no-sync mypy
8282
83+ dependencies:
84+ if: {% raw %} ${{ always() }}{% endraw %}
85+ runs-on: ubuntu-latest
86+ steps:
87+ - uses: actions/checkout@v5
88+ with:
89+ persist-credentials: false
90+ - uses: astral-sh/setup-uv@v6
91+ - name: Install packages
92+ run: >-
93+ uv sync
94+ --all-extras
95+ --all-groups
96+ --exact
97+ --locked
98+ - name: List packages
99+ run: uv pip list
100+ - name: Run deptry
101+ run: uv run --no-sync --with deptry deptry src/
102+ - name: Run pip-audit
103+ run: uv run --no-sync --with pip-audit pip-audit --skip-editable
104+
83105 test:
84106 {% - raw %}
85107 if: ${{ always() }}
@@ -214,6 +236,7 @@ jobs:
214236 ruff-check,
215237 pre-commit,
216238 mypy,
239+ dependencies,
217240 test,
218241 pylint,
219242 ]
You canβt perform that action at this time.
0 commit comments