diff --git a/.github /workflows/build.yml b/.github /workflows/build.yml index 605ce75a..f2ea21a8 100644 --- a/.github /workflows/build.yml +++ b/.github /workflows/build.yml @@ -10,9 +10,7 @@ name: Build on: push: - branches: - - "main" - - "Release" + branches: ["main", "Release"] defaults: run: shell: bash diff --git a/.github /workflows/lint.yml b/.github /workflows/lint.yml index ab0bd7e5..0bf240e1 100644 --- a/.github /workflows/lint.yml +++ b/.github /workflows/lint.yml @@ -2,20 +2,15 @@ name: Lint on: push: - branches: - - "main" - - "Release" + branches: ["main", "Release"] pull_request: - branches: - - "main" - - "Release" + branches: ["main", "Release"] + jobs: run-linters: - name: Run linters runs-on: ubuntu-latest steps: - - name: Check out Git repository - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - name: Use bun 1.0.10 uses: oven-sh/setup-bun@v1 with: @@ -23,5 +18,4 @@ jobs: - name: Install bun dependencies run: bun i - name: Run linters - run: | - bun run lint + run: bun run lint