22 lines
481 B
YAML
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
|