Bump pyinstaller from 4.10 to 5.13.1 #124
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Analysis on Pull | |
on: | |
push: | |
branches: [ main, release/** ] | |
pull_request: | |
branches: [ main, release/** ] | |
jobs: | |
code_analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.10" | |
- name: Setup Poetry | |
uses: Gr1N/setup-poetry@v7 | |
- name: Install Packages | |
run: poetry install | |
- name: Flake8 (Linter) | |
run: poetry run flake8 | |
- name: isort (Import Sorter) | |
run: poetry run isort | |
- name: Black (Code Formatter) | |
run: find . -type f -name "*.py" | xargs poetry run black | |
- name: Check for changes | |
id: changes | |
uses: UnicornGlobal/[email protected] | |
- name: Commit and Push Changes | |
if: steps.changes.outputs.changed == 1 | |
run: | | |
git config user.name code-analysis-action | |
git config user.email [email protected] | |
git commit -a -m "Changes by Code Analysis Action" --no-verify | |
git push |