Skip to content

Commit 7d83836

Browse files
committed
update validate code accuracy job
1 parent 6f4a1da commit 7d83836

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,16 @@ jobs:
1212
validate:
1313
name: Validate code accuracy
1414
runs-on: ubuntu-latest
15-
timeout-minutes: 40
16-
strategy:
17-
max-parallel: 5
18-
matrix:
19-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2015
steps:
21-
- name: Checkout
22-
uses: actions/checkout@v4
23-
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v5
25-
with:
26-
python-version: ${{ matrix.python-version }}
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install -r requirements-dev.txt
16+
- uses: actions/checkout@v4
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -r requirements-dev.txt
25+
- name: Lint with Pylint
26+
run: pylint msgraph --disable=W --rcfile=.pylintrc
3127

32-
- name: Lint with Pylint
33-
run: pylint msgraph --disable=W --rcfile=.pylintrc

0 commit comments

Comments
 (0)