chore: bump dpy version (#330) #913
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
UV_VERSION: 0.7.16 | |
UV_NO_SYNC: 1 | |
UV_LOCKED: 1 | |
PY_COLORS: 1 | |
jobs: | |
ci: | |
if: github.repository == 'ghostty-org/discord-bot' | |
runs-on: namespace-profile-ghostty-sm | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- name: Setup uv | |
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0 | |
with: | |
version: ${{ env.UV_VERSION }} | |
- name: Environment | |
id: sync | |
run: uv sync | |
- name: taplo (TOML formatting) | |
if: ${{ !cancelled() && steps.sync.conclusion == 'success' }} | |
run: uv run taplo fmt --check --diff pyproject.toml | |
- name: ruff format | |
if: ${{ !cancelled() && steps.sync.conclusion == 'success' }} | |
run: uv run ruff format --diff | |
- name: ruff lint | |
if: ${{ !cancelled() && steps.sync.conclusion == 'success' }} | |
run: uv run ruff check --output-format github | |
- name: pytest | |
if: ${{ !cancelled() && steps.sync.conclusion == 'success' }} | |
run: uv run pytest -vv | |
- name: basedpyright | |
if: ${{ !cancelled() && steps.sync.conclusion == 'success' }} | |
run: uv run basedpyright app tests |