Files
cosscom__coss/.github/workflows/format.yml
Volnei Munhoz f27b7e2938 chore: Add github actions (#510)
* merge main

* organize workflow

* format only to verify

* parallelize

* parallelize format

* better job names

* cherry-picks

* cherry-picks
2025-11-17 19:41:44 +01:00

34 lines
681 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 .