mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 18:29:08 +00:00
27 lines
524 B
YAML
27 lines
524 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: master
|
|
pull_request:
|
|
branches: master
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
|
|
- name: Install dependencies
|
|
run: pip install --user ruff
|
|
|
|
- name: Check format
|
|
run: find .github -name *.py -exec ruff format --check {} \;
|
|
|
|
- name: Lint
|
|
run: find .github -name *.py -exec ruff check --output-format=github {} \;
|