Skip to content

Commit

Permalink
ci: run linting
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 15, 2024
1 parent 35b5fb2 commit 622b239
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,35 @@ concurrency:
group: all_workflows

jobs:
fetch:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip

- name: Install dependencies
run: pip install -r requirements_dev.txt

- name: Run flake8
run: flake8 x_notes

- name: Run black
run: black x_notes --check

- name: Run isort
run: isort x_notes -c --profile black

deploy:
name: Deploy
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 622b239

Please sign in to comment.