Skip to content

feat: hoist 'rooms' module from 'soliplex-skills' #1

feat: hoist 'rooms' module from 'soliplex-skills'

feat: hoist 'rooms' module from 'soliplex-skills' #1

Workflow file for this run

name: Python linting
on:
push:
branches:
- main
paths:
- 'pyproject.toml'
- 'src/soliplex_plumber/**'
- 'tests/**'
- '.github/workflows/python-lint.yaml'
- 'uv.lock'
pull_request:
branches:
- main
paths:
- 'pyproject.toml'
- 'src/soliplex_plumber/**'
- 'tests/**'
- '.github/workflows/python-lint.yaml'
- 'uv.lock'
workflow_dispatch:
jobs:
lint-soliplex-plumber:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --frozen --group dev
- name: Check formatting
run: uv run ruff format --check
- name: Run ruff linter
run: uv run ruff check
- name: Notify Slack on failure
if: failure()
uses: slackapi/slack-github-action@v2.1.0
with:
webhook: ${{ secrets.SLACK_NOTIFY_URL }}
webhook-type: incoming-webhook
payload: |
{
"channel": "#soliplex",
"username": "soliplex",
"text": ":x: ${{ github.workflow }} failed on ${{ github.head_ref }}:\n${{ github.event.head_commit.message }}\nhttps://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"icon_emoji": ":ghost:"
}