mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-12-22 06:43:25 +00:00
728fff110a
* Fixes CI not running. * Allows markdown files to have hard linebreaks. * Ads additional checks.
25 lines
540 B
YAML
25 lines
540 B
YAML
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@v4
|
|
- uses: actions/setup-python@v3 # WARNING: This must be v3
|
|
- name: ✨ Install pre-commit
|
|
uses: pre-commit/action@v3.0.1
|
|
- name: 🔥 Test
|
|
run: pre-commit run --show-diff-on-failure --all-files
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: false
|