2023-09-22 06:12:21 +00:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
Test:
|
|
|
|
name: pre-commit
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: 💾 Check out repository
|
2024-10-13 21:26:25 +00:00
|
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v3 # WARNING: This must be v3
|
2023-09-22 06:12:21 +00:00
|
|
|
- name: ✨ Install pre-commit
|
2024-10-13 21:26:25 +00:00
|
|
|
uses: pre-commit/action@v3.0.1
|
2023-09-22 06:12:21 +00:00
|
|
|
- name: 🔥 Test
|
2024-01-06 16:36:42 +00:00
|
|
|
run: pre-commit run --show-diff-on-failure --all-files
|
2023-09-22 06:12:21 +00:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: false
|