Skip to content

Commit 2f8ede9

Browse files
committed
update GitHub Actions
1 parent c796e84 commit 2f8ede9

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Set up Python 3.9
13-
uses: actions/setup-python@v2
11+
- uses: actions/checkout@v4
12+
- name: Set up Python 3.14
13+
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.9
15+
python-version: "3.14"
16+
- name: Set up uv
17+
uses: astral-sh/setup-uv@v6
1618
- name: Install dependencies
17-
run: |
18-
python -m pip install --upgrade pipenv
19-
pipenv install --dev
19+
run: uv sync
2020
- if: ${{ github.ref == 'refs/heads/master' }}
2121
name: Build data
22-
run: pipenv run build
22+
run: uv run python -m pyvecorg build
2323
env:
2424
GOOGLE_SERVICE_ACCOUNT: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
2525
- name: Run tests
26-
run: pipenv run test -v
26+
run: uv run pytest -v
2727
- name: Build HTML
28-
run: pipenv run freeze
28+
run: uv run python -m pyvecorg freeze
2929
- if: ${{ github.ref == 'refs/heads/master' }}
3030
name: Deploy
31-
run: pipenv run deploy
31+
run: uv run python -m pyvecorg deploy
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)