Unified · Split
| @@ -11,20 +11,6 @@ concurrency: · 10 unmodified lines | |||
| 11 | cancel-in-progress: true | 11 | cancel-in-progress: true |
| 12 | 12 | ||
| 13 | jobs: | 13 | jobs: |
| 14 | # format: | ||
| 15 | # name: Format | ||
| 16 | # runs-on: ubuntu-latest | ||
| 17 | # steps: | ||
| 18 | # - uses: actions/checkout@v4 | ||
| 19 | # | ||
| 20 | # - uses: oven-sh/setup-bun@v2 | ||
| 21 | # with: | ||
| 22 | # bun-version: 1.3.11 | ||
| 23 | # | ||
| 24 | # - run: bun install --frozen-lockfile | ||
| 25 | # | ||
| 26 | # - run: bun run format:check | ||
| 27 | |||
| 28 | lint: | 14 | lint: |
| 29 | name: Lint | 15 | name: Lint |
| 30 | runs-on: ubuntu-latest | 16 | runs-on: ubuntu-latest |
| @@ -1,28 +0,0 @@ | |||
| 1 | name: Format | ||
| 2 | |||
| 3 | on: | ||
| 4 | pull_request: | ||
| 5 | |||
| 6 | permissions: | ||
| 7 | contents: write | ||
| 8 | |||
| 9 | jobs: | ||
| 10 | format: | ||
| 11 | name: Auto-format | ||
| 12 | runs-on: ubuntu-latest | ||
| 13 | steps: | ||
| 14 | - uses: actions/checkout@v4 | ||
| 15 | with: | ||
| 16 | ref: ${{ github.head_ref }} | ||
| 17 | |||
| 18 | - uses: oven-sh/setup-bun@v2 | ||
| 19 | with: | ||
| 20 | bun-version: 1.3.11 | ||
| 21 | |||
| 22 | - run: bun install --frozen-lockfile | ||
| 23 | |||
| 24 | - run: bun run format | ||
| 25 | |||
| 26 | - uses: stefanzweifel/git-auto-commit-action@v5 | ||
| 27 | with: | ||
| 28 | commit_message: "style: format" | ||