feat: added ci checking #1
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: ci | |
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 and package dependencies | |
run: uv venv && uv pip sync | |
- name: Install ruff | |
run: uv add ruff | |
- name: Run ruff | |
run: uv run ruff check src |