Skip to content

Commit

Permalink
modify actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonista-blitz committed Nov 15, 2023
1 parent db715e1 commit 1239f36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/code-quality-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Clear Python cache
run: |
sudo rm -rf $RUNNER_TOOL_CACHE/Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9.9
python-version: 3.9.x

- name: Run pre-commits
uses: pre-commit/[email protected]
6 changes: 5 additions & 1 deletion .github/workflows/code-quality-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Clear Python cache
run: |
sudo rm -rf $RUNNER_TOOL_CACHE/Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9.9
python-version: 3.9.x

- name: Find modified files
id: file_changes
Expand Down

0 comments on commit 1239f36

Please sign in to comment.