Skip to content

Use Assembly.GetTypes() safely #252

Use Assembly.GetTypes() safely

Use Assembly.GetTypes() safely #252

Workflow file for this run

name: Build
on: [push, pull_request]
env:
DOTNET_NOLOGO: 1
NUGET_CERT_REVOCATION_MODE: offline
jobs:
windows:
name: Windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore src/ZeroLog.sln
- name: Build
run: dotnet build --configuration Release --no-restore src/ZeroLog.sln
- name: Pack
run: dotnet pack --configuration Release --no-build src/ZeroLog.sln
- name: Test
run: dotnet test --configuration Release --no-build src/ZeroLog.sln
- name: Upload NuGet
uses: actions/upload-artifact@v3
with:
name: NuGet
path: output/*.nupkg