Skip to content

Commit

Permalink
Merge pull request #2 from maeriil/workflow
Browse files Browse the repository at this point in the history
Workflow linting setup fixes
  • Loading branch information
maeriil authored Sep 29, 2023
2 parents 184725d + 18c7b03 commit e4eeba3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
#unlucky

jobs:
lint:
Expand All @@ -23,9 +24,11 @@ jobs:

- name: Install dependencies
run: npm install
working-directory: ./client

- name: Run ESLint for JavaScript/React
run: npm run lint
working-directory: ./client

- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -34,6 +37,8 @@ jobs:

- name: Install pip dependencies
run: pip install -r requirements.txt
working-directory: ./backend

- name: Run flake8 for Python
run: flake8
working-directory: ./backend
1 change: 1 addition & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flake8

0 comments on commit e4eeba3

Please sign in to comment.