Skip to content

chore: upload new GitHub workflows, CODEOWNERS, PULL_REQUEST_TEMPLATE… #1

chore: upload new GitHub workflows, CODEOWNERS, PULL_REQUEST_TEMPLATE…

chore: upload new GitHub workflows, CODEOWNERS, PULL_REQUEST_TEMPLATE… #1

Workflow file for this run

# The propose of this workflow is to check the code before merge to main branch
name: check code style and buildable
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Setup pre-commit
uses: pre-commit/[email protected]
- name: Install dependencies
run: bun install
- name: Run pre-commit
run: pre-commit run --all-files
- name: Test Buildable
run: bun run build