Skip to content

Commit acd89be

Browse files
author
Kartik Raj
committed
Use lint from separate repo
1 parent 73fdaac commit acd89be

File tree

3 files changed

+14
-55
lines changed

3 files changed

+14
-55
lines changed

.github/actions/lint/action.yml

-49
This file was deleted.

.github/workflows/build.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,15 @@ jobs:
6363
if: github.repository == 'microsoft/vscode-python'
6464
runs-on: ubuntu-latest
6565
steps:
66-
- name: Checkout
66+
- name: Checkout Actions
6767
uses: actions/checkout@v3
68-
68+
with:
69+
repository: 'microsoft/vscode-python-engineering'
70+
path: ./actions
71+
- name: Install Actions
72+
run: npm install --production --prefix ./actions
6973
- name: Lint
70-
uses: ./.github/actions/lint
74+
uses: ./actions/lint
7175
with:
7276
node_version: ${{ env.NODE_VERSION }}
7377

.github/workflows/pr-check.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,15 @@ jobs:
3838
name: Lint
3939
runs-on: ubuntu-latest
4040
steps:
41-
- name: Checkout
41+
- name: Checkout Actions
4242
uses: actions/checkout@v3
43-
43+
with:
44+
repository: 'microsoft/vscode-python-engineering'
45+
path: ./actions
46+
- name: Install Actions
47+
run: npm install --production --prefix ./actions
4448
- name: Lint
45-
uses: ./.github/actions/lint
49+
uses: ./actions/lint
4650
with:
4751
node_version: ${{ env.NODE_VERSION }}
4852

0 commit comments

Comments
 (0)