mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-02 00:56:19 +00:00
31 lines
540 B
YAML
31 lines
540 B
YAML
name: Quality Checks
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
environment: pypi
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: "Install uv"
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
enable-cache: true
|
|
|
|
- name: "Set up Python"
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version-file: "pyproject.toml"
|
|
|
|
- name: Install dependencies
|
|
run: uv sync
|
|
|
|
- name: Build
|
|
run: uv build
|
|
|
|
- name: Publish
|
|
run: uv publish |