Skip to content

Commit

Permalink
Add pre-commit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobkoziej committed Nov 3, 2023
1 parent e929a34 commit f926117
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

name: pre-commit

# yamllint disable-line rule:truthy
on:
- pull_request
- push

jobs:
pre-commit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Checkout `ember`
uses: ./.github/actions/checkout

- name: Run `pre-commit` hooks
run: pre-commit run --show-diff-on-failure --color=always

0 comments on commit f926117

Please sign in to comment.