Add severity setting for diagnostic MA0018 #101
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
tags-ignore: | |
- '*' | |
paths-ignore: | |
- LICENSE | |
- 'CHANGELOG.md' | |
- 'README.md' | |
pull_request: | |
tags-ignore: | |
- '*' | |
paths-ignore: | |
- LICENSE | |
- 'CHANGELOG.md' | |
- 'README.md' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build & test | |
run: | | |
dotnet nuget update source PackSite --configfile ./src/NuGet.config -u ${{ secrets.GPR_OWNER }} -p ${{secrets.GPR_TOKEN }} --store-password-in-clear-text | |
dotnet test ./src/PackSite.Library.Pipelining.sln --configuration Release | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./src/**/Coverage.xml |