-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11bb041
commit 4230028
Showing
1 changed file
with
24 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
name: MSDO windows-latest | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sample: | ||
jobs: | ||
sample: | ||
|
||
# MSDO runs on windows-latest and ubuntu-latest. | ||
# macos-latest supporting coming soon | ||
runs-on: windows-latest | ||
# MSDO runs on windows-latest and ubuntu-latest. | ||
# macos-latest supporting coming soon | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
5.0.x | ||
6.0.x | ||
# Run analyzers | ||
- name: Run Microsoft Security DevOps Analysis | ||
uses: microsoft/security-devops-action@preview | ||
id: msdo | ||
# Run analyzers | ||
- name: Run Microsoft Security DevOps Analysis | ||
uses: microsoft/security-devops-action@preview | ||
id: msdo | ||
|
||
# Upload alerts to the Security tab | ||
- name: Upload alerts to Security tab | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: ${{ steps.msdo.outputs.sarifFile }} | ||
# Upload alerts to the Security tab | ||
- name: Upload alerts to Security tab | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: ${{ steps.msdo.outputs.sarifFile }} |