From 88e31699ad404fc30567b40ff94fb2b8af2bb023 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Tue, 30 Jul 2024 00:08:10 +0200 Subject: [PATCH] Removed pre-commit action I should always run pre-commit locally and currently this just takes to long to run. --- .gitea/workflows/checks.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .gitea/workflows/checks.yml diff --git a/.gitea/workflows/checks.yml b/.gitea/workflows/checks.yml deleted file mode 100644 index 61fa97f..0000000 --- a/.gitea/workflows/checks.yml +++ /dev/null @@ -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