Skip to content

Commit

Permalink
ci: add quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sternby committed Jan 3, 2024
1 parent e42633c commit ea70fa2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Quality Checks
concurrency:
group: Quality-Checks-${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request:
jobs:
quality-checks:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}

0 comments on commit ea70fa2

Please sign in to comment.