mirror of
https://github.com/ivuorinen/ghaw-auditor.git
synced 2026-02-21 08:52:07 +00:00
chore: fix type checking and CI workflow (#2)
This commit is contained in:
10
.github/workflows/pr.yml
vendored
10
.github/workflows/pr.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
- uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv sync
|
||||
run: uv sync --extra dev
|
||||
|
||||
- name: Run tests
|
||||
run: uv run -m pytest --cov
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
run: uvx ruff check .
|
||||
|
||||
- name: Type check
|
||||
run: uvx mypy .
|
||||
run: uv run mypy .
|
||||
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -35,10 +35,8 @@ jobs:
|
||||
|
||||
- uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
uv sync
|
||||
uv pip install -e .
|
||||
- name: Install dependencies
|
||||
run: uv sync
|
||||
|
||||
- name: Audit workflows
|
||||
run: uv run ghaw-auditor scan --repo . --output audit-results
|
||||
|
||||
Reference in New Issue
Block a user