-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d379f34
commit 837bfa9
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Lint and format APIs and SDKs | ||
run-name: ${{ github.actor }} is linting and formatting the code | ||
on: [push, pull_request] | ||
jobs: | ||
Lint-And-Format-APIs-And-SDKs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Install and configure Poetry | ||
uses: snok/install-poetry@v1 | ||
- name: Lint and format Agents API | ||
run: cd agents-api && poetry install && poetry run poe check | ||
- name: Lint and format Models API | ||
run: cd model-serving && poetry install && poetry run poe check | ||
- name: Lint and format Python SDK | ||
run: cd sdks/python && poetry install && poetry run poe check | ||
- name: Lint and format NodeJS SDK | ||
run: cd sdks/ts && npm i && npm run test |