Removed pre-commit action
All checks were successful
Build and deploy / Build application (push) Successful in 3m36s
Build and deploy / Build container (push) Successful in 40s
Build and deploy / Deploy container (push) Successful in 32s

I should always run pre-commit locally and currently this just takes to
long to run.
This commit is contained in:
Dreaded_X 2024-07-30 00:08:10 +02:00
parent 23e78fe5a7
commit 88e31699ad
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -1,31 +0,0 @@
name: Check
on:
push:
branches: "**"
jobs:
check:
name: Run checks
runs-on: ubuntu-latest
container: git.huizinga.dev/dreaded_x/pre-commit:master
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: get-hash
with:
patterns: |-
.pre-commit-config.yaml
- name: set PY
run: echo "PY=$(python -VV | sha256sum | cut -d ' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ steps.get-hash.outputs.hash }}
- name: Run pre-commit
run: SKIP=sqlx-prepare pre-commit run --show-diff-on-failure --color=always --all-files
shell: bash