Skip to content

Commit b1183fe

Browse files
committed
github actions to use uv rather than pipenv
1 parent 6ecf5f5 commit b1183fe

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/aws.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,19 @@ jobs:
2828
- name: npm build
2929
working-directory: ./frontend
3030
run: npm run build
31-
- name: Set up Python 3.13
32-
uses: actions/setup-python@v4
33-
with:
34-
python-version: 3.13
35-
cache: pip
36-
- name: Install pipenv
37-
run: pip install pipenv
38-
- name: pipenv to requirements.txt
39-
run: pipenv requirements > infrastructure/requirements.txt
31+
# - name: Set up Python 3.13
32+
# uses: actions/setup-python@v5
33+
# with:
34+
# python-version: 3.13
35+
# cache: pip
36+
- name: Install uv
37+
uses: astral-sh/setup-uv@v5
38+
- name: Set up Python
39+
run: uv python install
40+
- name: Install the project
41+
run: uv sync --all-extras --dev
42+
- name: uv to requirements.txt
43+
run: uv export --project pyproject.toml --no-emit-project > infrastructure/requirements.txt
4044
- name: cdk diff
4145
uses: youyo/aws-cdk-github-actions@v2
4246
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pythonwa"
3-
version = "3.1.2"
3+
version = "3.1.3"
44
description = "PythonWA website"
55
readme = "README.md"
66
requires-python = ">=3.13"

0 commit comments

Comments
 (0)