Skip to content

Made some changes

Made some changes #92

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: source-directory
- run: npx prettier --check .
working-directory: source-directory