Files
cosscom__coss/.github/workflows/format.yml
2025-11-14 06:36:40 -03:00

34 lines
714 B
YAML

name: Format
on:
workflow_call:
env:
BUN_VERSION: 1.3.1
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Verify formatting
run: bunx biome check --linter-enabled=false --organize-imports-enabled=false .