Skip to content

Commit a0cc3f0

Browse files
committed
Validate pyproject.toml of echo client python sample
1 parent dbc5d09 commit a0cc3f0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/samples-python-client-echo-api.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ on:
77
- samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/**
88
- .github/workflows/samples-python-client-echo-api.yaml
99
jobs:
10+
validate-pyproject-toml:
11+
name: Validate pyproject.toml
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.13"
18+
- name: Install validator
19+
run: pip install 'validate-pyproject[all]'
20+
- name: Validate
21+
run: validate-pyproject samples/client/echo_api/python/pyproject.toml
1022
build:
1123
name: Test Python client
1224
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)