Skip to content

Conversation

@akx
Copy link
Contributor

@akx akx commented Jan 14, 2026

Happy 2026!

Just some minor-ish CI pipeline and lint fixes (for now 😇):

  • upgrade pre-commit tools, fix typos (new version of crate-ci/typos)
  • use uv to install Python and tools (faster!)
  • use pre-commit-uv (faster!) (prek is also an option)
  • upgrade CI action versions and pin them to SHAs (as is security best practice)

akx added 5 commits January 14, 2026 10:21
(with `uvx gha-tools@latest autoupdate --pin third-party -s specific --first-party-version-strategy=major --write .github/workflows/`)
@github-actions
Copy link

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

-w /src -v "$PWD:/src" "$image" sh -c \
"apt-get update \
&& pip install cmake==3.31.6 \
&& uv tool install cmake==3.31.6 \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ROCm docker images likely won't have uv installed, and that's not covered by a setup-uv action running on the host. I recognize the advantage of using uv but in this case it's probably not worth changing since installing cmake is < 1% of the build runtime.

fi

[[ "${build_os}" = windows-* ]] && python3 -m pip install ninja
uv tool install ninja cmake==3.28.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will install on the host for both Windows and Linux, but on Linux we end up using a container with cmake installed via dnf. We only would need this on Windows, so I think it makes sense to move to line 44 below.

Comment on lines +143 to +145
- uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b
with:
python-version: '3.14'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment on build-rocm.sh; because we build in a container we shouldn't need to install python on the host.

@matthewdouglas
Copy link
Member

@akx Thanks! These are welcome changes! Left some comments, but will be happy to merge when it's ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants