Skip to content

Commit 38d44e3

Browse files
committed
Separate build and publish workflows
1 parent 91fb1b5 commit 38d44e3

File tree

2 files changed

+29
-52
lines changed

2 files changed

+29
-52
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build and validate generated code
2+
3+
on:
4+
workflow_dispatch:
5+
workflow_call:
6+
push:
7+
branches: [ main ]
8+
pull_request:
9+
branches: [ main, dev ]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
validate:
16+
name: Validate code accuracy
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: '3.12'
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements-dev.txt
28+
- name: Lint with Pylint
29+
run: pylint msgraph --disable=W --rcfile=.pylintrc

.github/workflows/build_publish.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)