Skip to content

Commit 0a25fc4

Browse files
committed
Updating pipeline to have linting
Signed-off-by: Ryan Lettieri <[email protected]>
1 parent 2eb4ed4 commit 0a25fc4

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/publish-dts-sdk.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,26 @@ on:
66
- 'azuremanaged-v*' # Only run for tags starting with "azuremanaged-v"
77

88
jobs:
9-
linter:
10-
steps:
11-
- name: Run linter
12-
run: echo "Success"
13-
14-
test:
9+
lint:
10+
runs-on: ubuntu-latest
1511
steps:
16-
- name: Run tests
17-
run: echo "Success"
12+
- uses: actions/checkout@v4
13+
- name: Set up Python 3.12
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: 3.12
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install setuptools wheel tox
21+
pip install flake8
22+
- name: Run flake8 Linter
23+
working-directory: ./durabletask-azuremanaged
24+
run: flake8 .
1825

1926
publish:
27+
needs: lint
2028
runs-on: ubuntu-latest
21-
2229
steps:
2330
- name: Checkout code
2431
uses: actions/checkout@v4

0 commit comments

Comments
 (0)