Skip to content

Bump Microsoft.OpenApi.Readers from 1.6.6 to 1.6.8 #376

Bump Microsoft.OpenApi.Readers from 1.6.6 to 1.6.8

Bump Microsoft.OpenApi.Readers from 1.6.6 to 1.6.8 #376

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/')