diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42d6c792..c9f91b6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d846327..ea497ac0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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