Disable warning AD0001 from Microsoft.AspNetCore.Mvc.Analyzers (#130) #379
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
name: build | |
on: | |
push: | |
branches: [ main, 'version/**', 'pr/**', 'pr-**' ] | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
branches: [ main, 'version/**', 'pr/**', 'pr-**' ] | |
types: [opened, synchronize, reopened] | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore |