Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
Expand All @@ -31,7 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: uv sync --locked --all-extras --dev
run: uv sync --locked --all-extras

- name: Run Pytest
run: uv run pytest
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release

on:
push:
tags:
- "v*"

jobs:
pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/fastapi-async-storages
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v5

- name: Install uv and setup the python version
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
python-version-file: "pyproject.toml"

- name: Install the project
run: uv sync

- name: Build wheel
run: uv build

- name: Publish package
run: uv publish