diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 578201ed8..2c220e552 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -22,7 +22,7 @@ jobs: pip install build python -m build - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -36,7 +36,7 @@ jobs: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist path: dist diff --git a/src/hydra_zen/structured_configs/_type_guards.py b/src/hydra_zen/structured_configs/_type_guards.py index b7adb4f9c..6ae1a289f 100644 --- a/src/hydra_zen/structured_configs/_type_guards.py +++ b/src/hydra_zen/structured_configs/_type_guards.py @@ -103,8 +103,7 @@ def is_old_partial_builds(x: Any) -> bool: # pragma: no cover safe_getattr(x, "_partial_target_") ): return True - else: - # ensures we cover this branch in tests + else: # pragma: no cover return False return False