polish #81
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: lint workflows | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - '**' | |
| jobs: | |
| lint_actions: | |
| uses: ./.github/workflows/lint_gh_actions.yaml | |
| with: | |
| extraArgs: > | |
| -ignore 'label "ubuntu-22.04-arm64" is unknown. .+' | |
| -ignore 'property "aws_.+" is not defined in .+' | |
| test_actions: | |
| runs-on: ubuntu-22.04-arm64 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| check-latest: true | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v5 | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile --ignore-scripts | |
| - name: Typecheck | |
| run: pnpm run actions:type-check | |
| - name: Test | |
| run: pnpm run actions:test | |
| python_checks: | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Set up uv package manager | |
| uses: astral-sh/setup-uv@v8.1.0 | |
| with: | |
| python-version: "3.14" | |
| enable-cache: true | |
| - name: Install Python dev dependencies | |
| run: uv sync --group dev | |
| - name: Ruff format | |
| run: uv run ruff format --check | |
| - name: Ruff lint | |
| run: uv run ruff check | |
| - name: Type check | |
| run: uv run ty check |