diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..899d4fd --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +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 + run: uv python install + + - name: Install the project + run: uv sync --all-extras --dev + + - name: Run ruff + run: uv run ruff check src/