Skip to content

Commit

Permalink
Merge pull request middlewarehq#604 from mokshith-moksh/FIX-ALL-LINTI…
Browse files Browse the repository at this point in the history
…NG-CI-CHECK

FIXED LINTING ERROR CI CHECK
  • Loading branch information
jayantbh authored Oct 18, 2024
2 parents 4bda170 + e242c7c commit 4fa53bf
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 4fa53bf

Please sign in to comment.