Skip to content

Merge pull request #15 from dodobrands/upgrade-deps #126

Merge pull request #15 from dodobrands/upgrade-deps

Merge pull request #15 from dodobrands/upgrade-deps #126

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
jobs:
build-test:
runs-on: ubuntu-latest
name: Build and run tests
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET SDK 6.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.422
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
- name: Setup .NET SDK 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.205
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
- name: Build solution
run: dotnet build --configuration Release
- name: Run tests
run: dotnet test --configuration Release