This repository was archived by the owner on May 15, 2025. It is now read-only.
HOTFIX: disable opportunity fetching in loader to prevent crashes #406
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: Check code quality | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| defaults: | |
| run: | |
| shell: bash | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| install-dependencies: | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| name: 'Dependencies' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Check dependencies | |
| run: bun install | |
| check-lint: | |
| name: 'Linting' | |
| needs: install-dependencies | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Check dependencies | |
| run: bun install && git submodule update --init --recursive && git submodule foreach 'bun install' | |
| - name: Check codebase linting | |
| run: bun lint:ci | |
| check-type: | |
| name: 'Typing' | |
| runs-on: ubuntu-latest | |
| needs: check-lint | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Check dependencies | |
| run: bun install && git submodule update --init --recursive && git submodule foreach 'bun install' | |
| - name: Check codebase typing | |
| run: bun typecheck |