feat: polish crewAI demo #1
This file contains hidden or 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
name: Crew AI CI | |
on: | |
push: | |
paths: | |
- '.github/workflows/crew-ai.yaml' | |
- 'crew-ai/**' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '.github/workflows/crew-ai.yaml' | |
- 'crew-ai/**' | |
permissions: | |
contents: read | |
jobs: | |
check: | |
name: Format, Lint and Type Check | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: crew-ai | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install uv | |
run: | | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
echo "$HOME/.cargo/bin" >> $GITHUB_PATH # Make uv available | |
- name: Check format | |
run: poetry run ruff format --check | |
- name: Check lint | |
run: poetry run ruff check | |
- name: Check types | |
run: poetry run pyright |