41 lines
971 B
YAML
41 lines
971 B
YAML
name: Pull-Request Vibe Check
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened ]
|
|
|
|
jobs:
|
|
ci-test:
|
|
runs-on: node-current
|
|
steps:
|
|
|
|
- name: Setup PRBot
|
|
uses: imgurbot12/prbot@v2
|
|
env:
|
|
RUST_LOG: debug
|
|
with:
|
|
username: ${{ secrets.prbot_username }}
|
|
api_token: ${{ secrets.prbot_token }}
|
|
|
|
- uses: actions/checkout@v6
|
|
- name: Set up UV
|
|
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
|
|
|
|
- run: |
|
|
apt update
|
|
apt install libpcsclite-dev python3-dev -y
|
|
|
|
- name: Install deps
|
|
run: uv sync --locked --all-extras --dev
|
|
|
|
- name: Run ruff check
|
|
run: uv run ruff check --output-format=github | cat | prbot
|
|
continue-on-error: true
|
|
env:
|
|
RUST_LOG: debug
|
|
|
|
- name: Post PR Feedback
|
|
if: always()
|
|
run: prbot commit
|
|
env:
|
|
RUST_LOG: debug
|