Skip to content

Update .NET SDK to 9.0.100-rtm.24509.30 #626

Update .NET SDK to 9.0.100-rtm.24509.30

Update .NET SDK to 9.0.100-rtm.24509.30 #626

Workflow file for this run

name: spectral
on:
pull_request:
branches:
- main
- dotnet-vnext
- dotnet-nightly
workflow_dispatch:
permissions:
contents: read
jobs:
spectral:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Spectral
run: npm install -g @stoplight/spectral-cli
- name: Generate OpenAPI document
shell: pwsh
run: |
dotnet build ./src/API
- name: Run Spectral
run: spectral lint "./artifacts/openapi/*" --fail-severity warn --format github-actions