diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9de04b1d..ff81fb16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - "3.12" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 03c0c300..e76717a5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 # v3.3.0 + - uses: actions/checkout@v4.1.4 # v3.3.0 - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6974afac..96577ab2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 with: @@ -24,7 +24,7 @@ jobs: check-readme: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 # NOTE(ww): Important: use pip-audit's minimum supported Python version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 685dae1d..77e88107 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 29e8d857..b6f19973 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -22,7 +22,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@v4.1.3 # tag=v3.0.0 + uses: actions/checkout@v4.1.4 # tag=v3.0.0 with: persist-credentials: false diff --git a/pip_audit/_audit.py b/pip_audit/_audit.py index c41de398..d977dbe2 100644 --- a/pip_audit/_audit.py +++ b/pip_audit/_audit.py @@ -63,7 +63,7 @@ def audit( if self._options.dry_run: # Drain the iterator in dry-run mode. logger.info(f"Dry run: would have audited {len(list(specs))} packages") - return {} + yield from () else: for dep, vulns in self._service.query_all(specs): unique_vulns: list[VulnerabilityResult] = []