Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: ${{ env.PY_VERSION }}
- uses: dtolnay/rust-toolchain@1.96.0
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: ". -> target"
Expand Down Expand Up @@ -454,7 +454,7 @@ jobs:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-build-${{ hashFiles('pyproject.toml') }}
restore-keys: ${{ runner.os }}-pip-build-
- uses: dtolnay/rust-toolchain@1.96.0
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: ". -> target"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# `pip install -e .` invokes maturin (declared in pyproject.toml's
# build-system) which calls cargo to compile the Rust extension.
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.96.0
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry + build
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
restore-keys: ${{ runner.os }}-pip-eval-

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.96.0
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry + build
uses: Swatinem/rust-cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: "3.11"

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.96.0
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry + build
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
files: dist/headroom-sbom.cdx.json

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.13.0
uses: pypa/gh-action-pypi-publish@v1.14.2
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ jobs:

- name: Publish ${{ env.PYPI_PACKAGE }} to PyPI
id: pypi-publish
uses: pypa/gh-action-pypi-publish@v1.13.0
uses: pypa/gh-action-pypi-publish@v1.14.2
with:
# Idempotent re-runs: when a wheel filename for the computed
# version is already on PyPI (e.g. a previous push to main
Expand Down
2 changes: 1 addition & 1 deletion tests/test_release_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ def test_pypi_publish_failure_blocks_github_release() -> None:
npm_job_start = content.index("publish-npm:", pypi_job_start)
pypi_job = content[pypi_job_start:npm_job_start]

assert "uses: pypa/gh-action-pypi-publish@v1.13.0" in pypi_job
assert "uses: pypa/gh-action-pypi-publish@v1.14.2" in pypi_job
assert "continue-on-error: true" not in pypi_job
assert "(vars.PYPI_SKIP == 'true' || needs.publish-pypi.result == 'success')" in content

Expand Down
Loading