diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 7f90984836..e4add855c4 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -8,10 +8,8 @@ on: workflow_dispatch: pull_request: merge_group: - push: - branches: ["main"] env: - BUN_VERSION: "1.2.11" + BUN_VERSION: "1.2.20" LLVM_VERSION: "19.1.7" LLVM_VERSION_MAJOR: "19" @@ -37,6 +35,7 @@ jobs: - name: Setup Dependencies run: | bun install + bun scripts/glob-sources.mjs - name: Format Code run: | # Start prettier in background with prefixed output diff --git a/.github/workflows/glob-sources.yml b/.github/workflows/glob-sources.yml deleted file mode 100644 index 1c2db82544..0000000000 --- a/.github/workflows/glob-sources.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Glob Sources - -permissions: - contents: write - -on: - workflow_call: - workflow_dispatch: - pull_request: - -env: - BUN_VERSION: "1.2.11" - -jobs: - glob-sources: - name: Glob Sources - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Configure Git - run: | - git config --global core.autocrlf true - git config --global core.ignorecase true - git config --global core.precomposeUnicode true - - name: Setup Bun - uses: ./.github/actions/setup-bun - with: - bun-version: ${{ env.BUN_VERSION }} - - name: Setup Dependencies - run: | - bun install - - name: Glob sources - run: bun scripts/glob-sources.mjs - - name: Commit - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: "`bun scripts/glob-sources.mjs`" -