Skip to content

Commit ca5f211

Browse files
committed
lint both projects
1 parent c6fd946 commit ca5f211

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/lint.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,16 @@ jobs:
1616
check:
1717
strategy:
1818
fail-fast: true
19+
matrix:
20+
project:
21+
- thirdweb-ai
22+
- thirdweb-mcp
1923

20-
name: Linter
24+
name: Linter (${{ matrix.project }})
2125
runs-on: ubuntu-latest
26+
defaults:
27+
run:
28+
working-directory: ./python/${{ matrix.project }}
2229
steps:
2330
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2431

@@ -29,7 +36,7 @@ jobs:
2936
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3037
with:
3138
cache: true
32-
cache-dependency-path: "uv.lock" # Update cache if uv.lock changes
39+
cache-dependency-path: "python/${{ matrix.project }}/uv.lock" # Update cache if uv.lock changes
3340

3441
- name: Install the project
3542
run: uv sync --all-extras --dev
@@ -47,3 +54,4 @@ jobs:
4754
uses: jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2.3.2
4855
with:
4956
version: PATH
57+
working-directory: ./python/${{ matrix.project }}

0 commit comments

Comments
 (0)