chore: upload new GitHub workflows, CODEOWNERS, PULL_REQUEST_TEMPLATE… #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |