Skip to content

Create mdcdevops.yml #2

Create mdcdevops.yml

Create mdcdevops.yml #2

Workflow file for this run

name: MSDO windows-latest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
sample:
# MSDO runs on windows-latest and ubuntu-latest.
# macos-latest supporting coming soon
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
5.0.x
6.0.x
# Run analyzers

Check failure on line 25 in .github/workflows/mdcdevops.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mdcdevops.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
- 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 }}