Skip to content

Bump xunit.runner.visualstudio from 2.4.5 to 2.5.1 #380

Bump xunit.runner.visualstudio from 2.4.5 to 2.5.1

Bump xunit.runner.visualstudio from 2.4.5 to 2.5.1 #380

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'csharp'
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
env:
PLAID__CLIENTID: ${{ secrets.PLAIDCLIENTID }}
PLAID__SECRET: ${{ secrets.PLAIDSECRET }}
run: dotnet test -c Release --no-build --verbosity normal
if: github.repository == 'viceroypenguin/Going.Plaid'
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: 'Test report'
path: '**/*.trx'
reporter: 'dotnet-trx'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Package
run: dotnet pack src/Plaid/Plaid.csproj -c Release --no-build -o nupkgs
if: startsWith(github.ref, 'refs/tags/')
- name: Push to Nuget
run: dotnet nuget push "./nupkgs/*.nupkg" --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGETPUBLISHKEY }}
if: startsWith(github.ref, 'refs/tags/')