diff --git a/.gitea/workflows/python-pep8.yaml b/.gitea/workflows/python-pep8.yaml index ea978b3..a61308e 100644 --- a/.gitea/workflows/python-pep8.yaml +++ b/.gitea/workflows/python-pep8.yaml @@ -1,18 +1,23 @@ -python-pep8: - name: Python formatting PEP8 - runs-on: ubuntu-latest +name: Python formatting PEP8 +run-name: ${{ gitea.actor }} is running PEP8 check +on: [push] - steps: - - name: Checkout - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: 3.9 +jobs: + Pyhton-PEP8: + runs-on: ubuntu-latest - - name: Install dependencies - run: | - pip install flake8 + steps: + - name: Checkout + uses: actions/checkout@v3 - - name: Run checking - run: | - flake8 --extend-exclude bin,lib . + - uses: actions/setup-python@v3 + with: + python-version: 3.9 + + - name: Install dependencies + run: | + pip install flake8 + + - name: Run checking + run: | + flake8 --extend-exclude bin,lib .