pre-commit/.gitea/workflows/checks.yml
Dreaded_X 53fbcf6baa
All checks were successful
Build and deploy censorbot / Run pre-commit checks (push) Successful in 2m58s
Build and deploy censorbot / Build Docker image (push) Successful in 2m35s
Use default container
2024-06-23 18:05:18 +02:00

21 lines
435 B
YAML

name: Build and deploy censorbot
on:
push:
branches: "**"
jobs:
check:
name: Run pre-commit checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pre-commit
run: python -m pip install pre-commit
shell: bash
- name: Run pre-commit
run: pre-commit run --show-diff-on-failure --color=always --all-files
shell: bash