Skip to content

Commit

Permalink
ci: use poetry instead of uv
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Jan 14, 2025
1 parent d8a0aa6 commit ebd6abf
Show file tree
Hide file tree
Showing 5 changed files with 2,044 additions and 1,184 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/lint-and-format.yaml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Lint

on:
push:
branches:
- oa
pull_request:
branches:
- oa

jobs:
lint:
name: lint-and-format
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true

- name: Install dependencies
run: poetry install --no-interaction --no-root

- name: Run Ruff Check
run: poetry run ruff check --fix .
Loading

0 comments on commit ebd6abf

Please sign in to comment.