Skip to content

Commit c5f54bc

Browse files
authored
Create main.yml
1 parent e463254 commit c5f54bc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on: [push]
2+
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version: ["3.8", "3.9", "3.10"]
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up Python ${{ matrix.python-version }}
12+
uses: actions/setup-python@v3
13+
with:
14+
python-version: ${{ matrix.python-version }}
15+
- name: Install dependencies
16+
run: |
17+
python -m pip install --upgrade pip
18+
pip install pylint
19+
- name: Analysing the code with pylint
20+
run: |
21+
pylint $(git ls-files '*.py')

0 commit comments

Comments
 (0)