Add formatting check for shell scripts (#106)
This commit is contained in:
committed by
GitHub
parent
1e7f91231c
commit
1e3bd2b04b
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user