forked from loafle/openapi-generator-original
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](https://github.com/actions/setup-dotnet/compare/v4.0.0...v4.0.1) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
46 lines
1.8 KiB
YAML
46 lines
1.8 KiB
YAML
name: Samples C# .Net 8 Clients
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- samples/client/petstore/csharp/generichost/net8/**
|
|
- samples/client/petstore/csharp/httpclient/net8/**
|
|
- samples/client/petstore/csharp/restsharp/net8/**
|
|
- samples/client/petstore/csharp/unityWebRequest/net8/**
|
|
pull_request:
|
|
paths:
|
|
- samples/client/petstore/csharp/generichost/net8/**
|
|
- samples/client/petstore/csharp/httpclient/net8/**
|
|
- samples/client/petstore/csharp/restsharp/net8/**
|
|
- samples/client/petstore/csharp/unityWebRequest/net8/**
|
|
jobs:
|
|
build:
|
|
name: Build .Net projects
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
- samples/client/petstore/csharp/generichost/net8/AllOf
|
|
- samples/client/petstore/csharp/generichost/net8/AnyOf
|
|
- samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare
|
|
- samples/client/petstore/csharp/generichost/net8/FormModels
|
|
- samples/client/petstore/csharp/generichost/net8/ManualPetstoreTests
|
|
- samples/client/petstore/csharp/generichost/net8/ManualSourceGenerationTests
|
|
- samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
|
|
- samples/client/petstore/csharp/generichost/net8/OneOf
|
|
- samples/client/petstore/csharp/generichost/net8/Petstore
|
|
- samples/client/petstore/csharp/generichost/net8/SourceGeneration
|
|
- samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-dotnet@v4.0.1
|
|
with:
|
|
dotnet-version: '8.0.x'
|
|
- name: Build
|
|
working-directory: ${{ matrix.sample }}
|
|
run: dotnet build Org.OpenAPITools.sln
|
|
- name: Test
|
|
working-directory: ${{ matrix.sample }}
|
|
run: dotnet test Org.OpenAPITools.sln
|