mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
* Bump actions/setup-dotnet from 4.3.1 to 5.0.0 Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4.3.1 to 5.0.0. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](https://github.com/actions/setup-dotnet/compare/v4.3.1...v5.0.0) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * trigger c# build workflow * Revert "trigger c# build workflow" This reverts commit cb0ea32e98d4bf6a5847afadf2603d552a8156e3. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Cheng <wing328hk@gmail.com>
59 lines
2.6 KiB
YAML
59 lines
2.6 KiB
YAML
name: Samples C# .Net 9 Clients
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- samples/client/petstore/csharp/generichost/latest/**
|
|
- samples/client/petstore/csharp/generichost/net9/**
|
|
- samples/client/petstore/csharp/httpclient/net9/**
|
|
- samples/client/petstore/csharp/restsharp/net9/**
|
|
- samples/client/petstore/csharp/unityWebRequest/net9/**
|
|
pull_request:
|
|
paths:
|
|
- samples/client/petstore/csharp/generichost/latest/**
|
|
- samples/client/petstore/csharp/generichost/net9/**
|
|
- samples/client/petstore/csharp/httpclient/net9/**
|
|
- samples/client/petstore/csharp/restsharp/net9/**
|
|
- samples/client/petstore/csharp/unityWebRequest/net9/**
|
|
jobs:
|
|
build:
|
|
name: Build .Net projects
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
- samples/client/petstore/csharp/generichost/latest/ComposedEnum
|
|
- samples/client/petstore/csharp/generichost/latest/InlineEnumAnyOf
|
|
- samples/client/petstore/csharp/generichost/latest/Tags
|
|
- samples/client/petstore/csharp/generichost/latest/HelloWorld
|
|
- samples/client/petstore/csharp/generichost/latest/OneOfList
|
|
- samples/client/petstore/csharp/generichost/net9/AllOf
|
|
- samples/client/petstore/csharp/generichost/net9/AnyOf
|
|
- samples/client/petstore/csharp/generichost/net9/AnyOfNoCompare
|
|
- samples/client/petstore/csharp/generichost/net9/FormModels
|
|
# - samples/client/petstore/csharp/generichost/net9/ManualPetstoreTests
|
|
# - samples/client/petstore/csharp/generichost/net9/ManualSourceGenerationTests
|
|
- samples/client/petstore/csharp/generichost/net9/NullReferenceTypes
|
|
- samples/client/petstore/csharp/generichost/net9/OneOf
|
|
- samples/client/petstore/csharp/generichost/net9/Petstore
|
|
- samples/client/petstore/csharp/generichost/net9/SourceGeneration
|
|
- samples/client/petstore/csharp/generichost/net9/UseDateTimeForDate
|
|
# restsharp
|
|
- samples/client/petstore/csharp/restsharp/net9/EnumMappings
|
|
# httpclient
|
|
- samples/client/petstore/csharp/httpclient/net9/Petstore
|
|
# unity
|
|
#- samples/client/petstore/csharp/unityWebRequest/net9/Petstore
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-dotnet@v5.0.0
|
|
with:
|
|
dotnet-version: '9.0.101'
|
|
- name: Build
|
|
working-directory: ${{ matrix.sample }}
|
|
run: dotnet build Org.OpenAPITools.sln
|
|
- name: Test
|
|
working-directory: ${{ matrix.sample }}
|
|
run: dotnet test Org.OpenAPITools.sln
|