pre-commit/.gitea/workflows/checks.yml
Dreaded_X 3005d66482
All checks were successful
Build and deploy censorbot / Run pre-commit checks (push) Successful in 57s
Build and deploy censorbot / Build Docker image (push) Successful in 4m27s
Initial commit
2024-06-15 03:11:59 +02:00

22 lines
481 B
YAML

name: Build and deploy censorbot
on:
push:
branches: "**"
jobs:
check:
name: Run pre-commit checks
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-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