chore(deps): update dependency lint-staged to v16.3.2 #2878
Workflow file for this run
This file contains hidden or 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
| name: build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| schedule: | |
| - cron: '0 1 * * *' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.ref_name }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| steps: | |
| - name: ⚙️ Setup | |
| uses: containerbase/internal-tools/setup@8e91669961fa364009f252dbc853dbc3a96b6a1c # v4.1.20 | |
| with: | |
| save-cache: true | |
| - run: pnpm prettier | |
| build: | |
| needs: | |
| - lint | |
| runs-on: ${{ matrix.arch.os }} | |
| name: build (${{ matrix.distro }}, ${{ matrix.arch.name }}) | |
| permissions: | |
| contents: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| distro: | |
| - jammy | |
| arch: | |
| - name: x86_64 | |
| os: ubuntu-24.04 | |
| - name: aarch64 | |
| os: ubuntu-24.04-arm | |
| env: | |
| DISTRO: ${{ matrix.distro }} # build target, name required by binary-builder | |
| ARCH: ${{ matrix.arch.name }} # build target, name required by binary-builder | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| show-progress: false | |
| - name: binary-builder | |
| uses: containerbase/internal-tools@8e91669961fa364009f252dbc853dbc3a96b6a1c # v4.1.20 | |
| with: | |
| command: binary-builder | |
| dry-run: ${{github.ref != 'refs/heads/main'}} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| # Catch-all required check for matrix | |
| success: | |
| needs: | |
| - lint | |
| - build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 1 | |
| if: always() | |
| steps: | |
| - name: Fail for failed or cancelled build tests | |
| if: | | |
| needs.build.result == 'failure' || | |
| needs.build.result == 'cancelled' | |
| run: exit 1 | |
| - name: Fail for failed or cancelled lint | |
| if: | | |
| needs.lint.result == 'failure' || | |
| needs.lint.result == 'cancelled' | |
| run: exit 1 |