mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-18 08:31:20 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
802 B
YAML
31 lines
802 B
YAML
name: Samples C# .Net Standard
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'samples/client/petstore/csharp/**netstandard**/'
|
|
pull_request:
|
|
paths:
|
|
- 'samples/client/petstore/csharp/**netstandard**/'
|
|
jobs:
|
|
build:
|
|
name: Build .Net projects
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
# clients
|
|
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-dotnet@v3.2.0
|
|
with:
|
|
dotnet-version: 3.1.*
|
|
- name: Build
|
|
working-directory: ${{ matrix.sample }}
|
|
run: dotnet build Org.OpenAPITools.sln
|
|
- name: Test
|
|
working-directory: ${{ matrix.sample }}
|
|
run: dotnet test Org.OpenAPITools.sln
|