feat: added automatic release for pypi #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [master, dev] | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@main | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
version: "latest" | |
enable-cache: true | |
- name: Install Python | |
run: uv python install | |
- name: Install the project | |
run: uv sync --extra dev | |
- name: Run ruff | |
run: uv run ruff check src/ |