Skip to content

Commit

Permalink
Add GitHub action for format checking
Browse files Browse the repository at this point in the history
  • Loading branch information
rdaum committed Jun 19, 2024
1 parent 5016443 commit 2a6d3b4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Formatting Check

on: [ push, pull_request ]

jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Use LF line endings
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3

- name: Check formatting latest
uses: ./

- name: Check formatting specific version
uses: ./
with:
dprint-version: 0.46.3

0 comments on commit 2a6d3b4

Please sign in to comment.