We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b161a5c + 5c06b57 commit 011fb81Copy full SHA for 011fb81
1 file changed
.github/workflows/pr-validation.yaml
@@ -0,0 +1,37 @@
1
+name: PR Validation
2
+
3
+on:
4
+ pull_request:
5
+ paths-ignore:
6
+ - .speakeasy/in.openapi.yaml
7
8
+concurrency:
9
+ group: pr-validation-${{ github.event.pull_request.number }}
10
+ cancel-in-progress: true
11
12
+permissions:
13
+ contents: read
14
15
+jobs:
16
+ validate:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v5
21
22
+ - name: Install uv
23
+ uses: astral-sh/setup-uv@v5
24
+ with:
25
+ enable-cache: true
26
27
+ - name: Build SDK
28
+ run: uv build
29
30
+ - name: Type check (mypy)
31
+ run: uv run --group dev mypy src
32
33
+ - name: Type check (pyright)
34
+ run: uv run --group dev pyright src
35
36
+ - name: Lint (pylint)
37
+ run: uv run --group dev pylint src --rcfile pylintrc
0 commit comments