refactor: various updates, drop server builder, migrate poetry to uv for local dev #6
Workflow file for this run
This file contains hidden or 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: PR validation | |
| on: [pull_request] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - name: Set up Python | |
| uses: actions/setup-python@v4.7.0 | |
| with: | |
| python-version: "3.12" | |
| cache: "poetry" | |
| cache-dependency-path: "poetry.lock" | |
| - name: Install dependencies | |
| run: poetry install | |
| - name: Run code linters | |
| run: | | |
| poetry run ruff check discobuilder | |
| poetry run ruff format --check discobuilder |