This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
Merge pull request #7 from nihar1024/main #51
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
name: "Lint" | |
on: | |
workflow_call: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v4 | |
- name: 📥 Checkout PR | |
uses: goat-community/.github/.github/actions/pr-git-checkout | |
- name: 📥 Poetry install | |
uses: goat-community/.github/.github/actions/poetry-install | |
with: | |
cwd: ${{ github.workspace }}/app/api | |
- name: 🔬 Run linting | |
run: poetry run bash scripts/lint.sh |