mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
31 lines
800 B
YAML
31 lines
800 B
YAML
|
# This action is centrally managed in https://github.com/<organization>/.github/
|
||
|
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
||
|
# the above-mentioned repo.
|
||
|
|
||
|
name: flake8
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
branches: [master, nightly]
|
||
|
types: [opened, synchronize, reopened]
|
||
|
|
||
|
jobs:
|
||
|
flake8:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Set up Python
|
||
|
uses: actions/setup-python@v4 # https://github.com/actions/setup-python
|
||
|
with:
|
||
|
python-version: '3.10'
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip setuptools flake8
|
||
|
|
||
|
- name: Test with flake8
|
||
|
run: |
|
||
|
python -m flake8 --verbose
|