Refine docstrings #9
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
| # This workflow will install the project dependencies and run the check script | |
| # on each push or pull request to the default branch. | |
| name: Check | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "pnpm" | |
| cache-dependency-path: "ui/pnpm-lock.yaml" | |
| - name: Install dependencies | |
| run: pnpm --prefix ui install | |
| - name: Copy env file | |
| run: cp .env.example .env | |
| - name: Build test postgres image | |
| run: docker build -t stock-analysis-postgres:0.1 -f configs/docker/postgres.Dockerfile . | |
| - name: Run check script | |
| run: ./scripts/check.sh |