-
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (31 loc) · 661 Bytes
/
python.yml
File metadata and controls
37 lines (31 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Python CI
on:
push:
branches: [ main ]
paths:
- 'Updater/**'
- '.github/workflows/python.yml'
pull_request:
paths:
- 'Updater/**'
- '.github/workflows/python.yml'
workflow_dispatch:
defaults:
run:
working-directory: Updater
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install flake8
run: pip install flake8
- name: Run flake8
run: flake8 .