summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-09 23:47:47 -0400
committerDax Raad <[email protected]>2025-09-09 23:47:47 -0400
commite53fb7f8eda760b9d39479a2038720d54a434629 (patch)
tree2cd58463253e72d0331bb88d2b9316f9bcd86997 /.github/workflows
parentb05cbc910130ed9924f33ece3b5a70885f2f126d (diff)
downloadopencode-e53fb7f8eda760b9d39479a2038720d54a434629.tar.gz
opencode-e53fb7f8eda760b9d39479a2038720d54a434629.zip
ci: format
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/format.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
new file mode 100644
index 000000000..84f82cafc
--- /dev/null
+++ b/.github/workflows/format.yml
@@ -0,0 +1,29 @@
+name: Format
+
+on:
+ push:
+ pull_request:
+ workflow_dispatch:
+jobs:
+ format:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Setup Bun
+ uses: oven-sh/setup-bun@v1
+ with:
+ bun-version: 1.2.19
+
+ - name: Install dependencies
+ run: bun install
+
+ - name: Run format
+ run: bun run format
+ env:
+ CI: true