Skip to content

Made some changes

Made some changes #93

name: Check Code Style
on: pull_request
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
src: backend
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: isort/isort-action@v1
with:
configuration: --check-only --diff --profile black
requirements-files: backend/requirements.txt
sort-paths: backend
prettier:
strategy:
matrix:
source-directory: [frontend, backend]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm clean-install
working-directory: ${{ matrix.source-directory }}
- run: npx prettier --check .
working-directory: ${{ matrix.source-directory }}