Skip to content

Commit

Permalink
chore: Add linting github action
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed Apr 15, 2024
1 parent d379f34 commit 1417024
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/lint-and-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint and format APIs and SDKs
run-name: ${{ github.actor }} is linting and formatting the code
on: [push]
jobs:
Lint-And-Format-APIs-And-SDKs:
runs-on: ubuntu-latest
steps:
- 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

0 comments on commit 1417024

Please sign in to comment.