Skip to content

Commit

Permalink
🔧 Update release workflow to use astral-sh/setup-uv (#723)
Browse files Browse the repository at this point in the history
🔧 Update release workflow to use `astral-sh/setup-uv`
  • Loading branch information
yezz123 authored Dec 27, 2024
2 parents 3350383 + fe1d7cb commit 086245f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ jobs:
- name: Install Dependencies
run: uv sync --group test --all-extras

- name: Freeze Dependencies
run: uv pip freeze

- name: Test with pytest - ${{ matrix.os }} - py${{ matrix.python-version }}
run: bash scripts/test.sh
env:
Expand Down Expand Up @@ -111,9 +108,6 @@ jobs:
- name: Install pydantic v1
run: uv pip install pydantic==1.10.17

- name: Freeze Dependencies
run: uv pip freeze

- name: Test with pytest - ${{ matrix.os }} - py${{ matrix.python-version }}
run: bash scripts/test.sh
env:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: set up python
uses: actions/setup-python@v5
- uses: astral-sh/setup-uv@v4
with:
python-version: '3.12'

- name: install
run: pip install -U build
enable-cache: true

- name: check version
id: check-tag
Expand All @@ -31,7 +27,7 @@ jobs:
version_file_path: authx/__init__.py

- name: build
run: python -m build
run: uv build

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 086245f

Please sign in to comment.