Skip to content

Commit

Permalink
optimize quality
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Jun 25, 2024
1 parent 51c6cfd commit dae1fc6
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
cache-key: ${{ runner.os }}-pip-${{ hashFiles('./backend/requirements.txt', './backend/dev-requirements.txt') }}
python-version-file: ./backend/.python-version
cache: 'pip'
cache-dependency-path: |
./backend/requirements.txt
./backend/dev-requirements.txt
- name: Install flake8
working-directory: ./backend
Expand All @@ -43,8 +46,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
cache-key: ${{ runner.os }}-pip-${{ hashFiles('./backend/requirements.txt', './backend/dev-requirements.txt') }}
python-version-file: ./backend/.python-version
cache: 'pip'
cache-dependency-path: |
./backend/requirements.txt
./backend/dev-requirements.txt
- name: Install isort
working-directory: ./backend
Expand All @@ -63,8 +69,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
cache-key: ${{ runner.os }}-pip-${{ hashFiles('./backend/requirements.txt', './backend/dev-requirements.txt') }}
python-version-file: ./backend/.python-version
cache: 'pip'
cache-dependency-path: |
./backend/requirements.txt
./backend/dev-requirements.txt
- name: Install black
working-directory: ./backend
Expand Down

0 comments on commit dae1fc6

Please sign in to comment.