Skip to content

Commit f263346

Browse files
committed
Refactor build job in CI workflow to streamline dependency installation and build process
1 parent 386b415 commit f263346

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,15 @@ jobs:
6464

6565
build:
6666
runs-on: ubuntu-latest
67-
needs: [lint, test]
6867
steps:
6968
- uses: actions/checkout@v4
7069
- name: Set up Python
7170
uses: actions/setup-python@v5
7271
with:
7372
python-version: ${{ env.PYTHON_VERSION }}
74-
- name: Install dependencies
75-
run: |
76-
python -m pip install --upgrade pip uv
77-
uv venv .venv
78-
source .venv/bin/activate
79-
uv pip install -r requirements.txt
80-
- name: Build package
81-
run: uv build
82-
- name: Upload artifacts
83-
uses: actions/upload-artifact@v4
84-
with:
85-
name: dist
86-
path: |
87-
dist/*.tar.gz
88-
dist/*.whl
89-
retention-days: 7
73+
- name: Install uv
74+
run: python -m pip install --upgrade pip uv
75+
- name: Check build process
76+
run: uv build --sdist --wheel
77+
78+

0 commit comments

Comments
 (0)