Add formatting check for shell scripts (#106)

This commit is contained in:
Muhammad Atif Ali
2023-12-16 17:39:08 +03:00
committed by GitHub
parent 1e7f91231c
commit 1e3bd2b04b
18 changed files with 137 additions and 122 deletions

View File

@@ -20,6 +20,8 @@ jobs:
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Setup
run: bun install
- run: bun test
pretty:
runs-on: ubuntu-latest
@@ -28,7 +30,9 @@ jobs:
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Setup
run: bun install
- name: Format
run: bun fmt:ci
- name: Lint
run: bun install && bun lint
run: bun lint