Skip to content

Commit

Permalink
FIXED-LINTING-ERROR-CI-CHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
mokshith-moksh committed Oct 18, 2024
1 parent 4bda170 commit e242c7c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,22 @@ jobs:
run: yarn add eslint@^8.40.0 [email protected] eslint-plugin-import@^2.29.0 eslint-plugin-prettier@^5.0.1 eslint-plugin-react@^7.29.4 eslint-plugin-unused-imports@^3.0.0 --dev
working-directory: web-server

- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Create and activate virtual environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install pre-commit
run: |
source venv/bin/activate
python -m pip install pre-commit
- name: Run pre-commit hooks
uses: pre-commit/[email protected]
with:
extra_args: --all-files

0 comments on commit e242c7c

Please sign in to comment.