Skip to content

Merge pull request #80 from Aiko-IT-Systems/renovate/discatsharp #328

Merge pull request #80 from Aiko-IT-Systems/renovate/discatsharp

Merge pull request #80 from Aiko-IT-Systems/renovate/discatsharp #328

Workflow file for this run

name: "Build Library"
on:
push:
branches:
- main
pull_request:
merge_group:
workflow_dispatch:
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: true
jobs:
build:
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: Build library
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4.0.0
with:
dotnet-version: |
8.0.301
7.0.403
- name: Restore dependencies
run: dotnet restore --no-cache -f -v minimal
- name: Build library
run: dotnet build -c Release -v normal --no-restore
- name: Test library
run: dotnet test -v normal -c Release --no-restore --no-build