1.0.0 Release #35
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: Autopep8 | |
on: | |
push: | |
branches: | |
- main # Change 'main' to your default branch name if different | |
pull_request: | |
branches: | |
- main # Change 'main' to your default branch name if different | |
jobs: | |
autopep8: | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8, 3.9] # List of Python versions you want to support | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install autopep8 | |
- name: Run autopep8 | |
run: autopep8 --in-place --recursive . |