Skip to content

Commit

Permalink
feat: added ci checking
Browse files Browse the repository at this point in the history
  • Loading branch information
matq007 committed Sep 12, 2024
1 parent 3867dd3 commit 0b5623c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit 0b5623c

Please sign in to comment.