first commit
Some checks failed
Test / pre-commit (push) Has been cancelled

This commit is contained in:
Arne Moerman
2024-12-15 18:59:19 +01:00
parent d0cfab6622
commit 8bf0f36c35
87 changed files with 3719 additions and 0 deletions

34
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Test
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
Test:
name: pre-commit
runs-on: ubuntu-latest
steps:
- name: 💾 Check out repository
uses: actions/checkout@v3
- name: 🪝 Cache pre-commit hooks
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: "pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml')
}}"
- name: ✨ Install pre-commit
shell: bash
run: python3 -m pip install pre-commit
- name: 🔥 Test
run: pre-commit run --show-diff-on-failure --all-files
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false