-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: switch to `uv` * chore: avoid depending on `pre-commit` * ci: remove duplicated `rustfmt` installation
- Loading branch information
1 parent
173d583
commit bbab080
Showing
14 changed files
with
1,033 additions
and
1,300 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: 'Setup Python Environment' | ||
description: 'Set up Python environment for the given Python version' | ||
|
||
inputs: | ||
python-version: | ||
description: 'Python version for setup-python' | ||
required: true | ||
default: '3.12' | ||
build-project: | ||
description: 'Whether to build the project itself' | ||
required: true | ||
default: 'false' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ inputs.python-version }} | ||
|
||
- name: Install uv | ||
run: pipx install uv | ||
env: | ||
# renovate: datasource=pypi depName=uv | ||
UV_VERSION: '0.4.1' | ||
shell: bash | ||
|
||
- name: Install Python dependencies | ||
run: uv sync --frozen ${{ inputs.build-project == 'false' && '--no-install-project' || '' }} | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.