Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 6f24815

Browse files
Merge pull request #1741 from microsoft/dev/gcampbell/policheck
update policheck
2 parents f745371 + c497d2f commit 6f24815

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.github/workflows/build.yml

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
with:
3535
node-version: 16.x
3636

37+
# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
38+
- name: Use Python 3.8
39+
if: ${{ matrix.os == 'macos-latest' }}
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version: 3.8
43+
3744
- name: Windows setup
3845
if: ${{ matrix.os == 'windows-latest' }}
3946
run: |

azure-pipelines.yml

+6
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ extends:
5353
name: VSEngSS-MicroBuild2022-1ES
5454
sdl:
5555
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
56+
tsa:
57+
enabled: true
58+
GdnPublishTsaOnboard: true
59+
GdnPublishTsaConfigFile: $(Build.SourcesDirectory)\build\tsa.gdntsa
60+
policheck:
61+
enabled: true
5662
spotBugs:
5763
enabled: false # Turn this off, this isn't java.
5864
customBuildTags:

build/build.yml

-8
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ jobs:
1313
variables:
1414
TeamName: C++ Cross Platform and Cloud
1515
templateContext:
16-
sdl:
17-
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
18-
tsa:
19-
enabled: true
20-
GdnPublishTsaOnboard: true
21-
GdnPublishTsaConfigFile: $(Build.SourcesDirectory)\build\tsa.gdntsa
22-
policheck:
23-
enabled: true
2416
outputs:
2517
- output: pipelineArtifact
2618
displayName: 'Publish extension VSIXes as artifact'

0 commit comments

Comments
 (0)