Skip to content

Commit

Permalink
πŸ’š Use pre-commit in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pajowu committed Apr 22, 2024
1 parent f412262 commit f265ded
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,9 @@ jobs:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[lint]
yarn install
- name: Run flake8
run: flake8 froide --statistics
- name: Run black
run: black --check froide
- name: Run isort
run: isort --check froide
- name: Run eslint
run: yarn lint
run: yarn install

- uses: pre-commit/[email protected]

test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f265ded

Please sign in to comment.