Bump FastEndpoints.Swagger and FastEndpoints #100
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 and Test Backend Solution | |
on: | |
push: | |
paths: | |
- '**/src/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ secrets.DOTNET_VERSION }} | |
- name: Add NuGet source | |
run: dotnet nuget add source https://nuget.pkg.github.com/trumpee/index.json --username trumpee --password ${{ secrets.SECRET_TOKEN }} --store-password-in-clear-text | |
- name: Build Solution | |
run: dotnet build -c Release --source "https://nuget.pkg.github.com/trumpee/index.json" --source "https://api.nuget.org/v3/index.json" Gateway.sln | |
- name: Test | |
run: dotnet test --no-build -c Release -v normal Gateway.sln |