mirror of
https://github.com/rendercv/rendercv.git
synced 2026-05-19 06:06:04 -04:00
uv sync locked in workflows
This commit is contained in:
2
.github/workflows/create-executables.yaml
vendored
2
.github/workflows/create-executables.yaml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
uses: taiki-e/install-action@just
|
||||
|
||||
- name: Install the project
|
||||
run: just sync
|
||||
run: just sync-locked
|
||||
|
||||
- name: Create executable
|
||||
run: just create-executable
|
||||
|
||||
2
.github/workflows/deploy-docs.yaml
vendored
2
.github/workflows/deploy-docs.yaml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
uses: taiki-e/install-action@just
|
||||
|
||||
- name: Install the project
|
||||
run: just sync
|
||||
run: just sync-locked
|
||||
|
||||
- name: Build docs
|
||||
run: just build-docs
|
||||
|
||||
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
uses: taiki-e/install-action@just
|
||||
|
||||
- name: Install the project
|
||||
run: just sync
|
||||
run: just sync-locked
|
||||
|
||||
- name: Test
|
||||
run: just test-coverage
|
||||
|
||||
2
.github/workflows/update-files.yaml
vendored
2
.github/workflows/update-files.yaml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
uses: taiki-e/install-action@just
|
||||
|
||||
- name: Install the project
|
||||
run: just sync
|
||||
run: just sync-locked
|
||||
|
||||
- name: Set Git credentials
|
||||
run: |
|
||||
|
||||
3
justfile
3
justfile
@@ -2,6 +2,9 @@
|
||||
sync:
|
||||
uv sync --all-extras --all-groups
|
||||
|
||||
sync-locked:
|
||||
uv sync --locked --all-extras --all-groups
|
||||
|
||||
format:
|
||||
uv run --locked black src tests
|
||||
uv run --locked ruff check --fix src tests
|
||||
|
||||
@@ -27,14 +27,6 @@ requires = ["uv_build>=0.9.5,<0.10.0"] # Packages needed to build RenderCV
|
||||
# See https://peps.python.org/pep-0517/
|
||||
build-backend = "uv_build" # Build-backend object for building RenderCV
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
# In the sdist, what do we want to exclude? GIF files are large.
|
||||
exclude = ["*.gif"]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
# In the wheel, what do we want to include and exclude?
|
||||
packages = ["rendercv"]
|
||||
|
||||
[project]
|
||||
# Metadata about RenderCV.
|
||||
name = 'rendercv'
|
||||
@@ -123,6 +115,12 @@ docs = [
|
||||
# RenderCV uses various tools to check code quality, format code, build docs, and package the project.
|
||||
# Their configurations are specified below so contributors and IDEs can pick them up automatically.
|
||||
|
||||
[tool.uv]
|
||||
default-groups = "all"
|
||||
|
||||
[tool.uv.pip]
|
||||
all-extras = true
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
|
||||
|
||||
Reference in New Issue
Block a user