Skip to content

Commit

Permalink
ci: add formatting check
Browse files Browse the repository at this point in the history
  • Loading branch information
arxanas committed May 24, 2024
1 parent 302cfc3 commit 1e78d57
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check formatting

on:
push:
branches:
- main
pull_request:

permissions: read-all

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29

- name: Run prettier
uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1
with:
dry: true
prettier_options: --check .

0 comments on commit 1e78d57

Please sign in to comment.