Skip to content

Commit

Permalink
Use lint from separate repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed May 4, 2023
1 parent 73fdaac commit acd89be
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 55 deletions.
49 changes: 0 additions & 49 deletions .github/actions/lint/action.yml

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,15 @@ jobs:
if: github.repository == 'microsoft/vscode-python'
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout Actions
uses: actions/checkout@v3

with:
repository: 'microsoft/vscode-python-engineering'
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Lint
uses: ./.github/actions/lint
uses: ./actions/lint
with:
node_version: ${{ env.NODE_VERSION }}

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,15 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout Actions
uses: actions/checkout@v3

with:
repository: 'microsoft/vscode-python-engineering'
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Lint
uses: ./.github/actions/lint
uses: ./actions/lint
with:
node_version: ${{ env.NODE_VERSION }}

Expand Down

0 comments on commit acd89be

Please sign in to comment.