Make all C# flavors support x-zero-based-enum and add tables to doc…
#6614
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Samples Dart | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - '[5-9]+.[0-9]+.x' | |
| pull_request: | |
| branches: | |
| - master | |
| - '[5-9]+.[0-9]+.x' | |
| paths: | |
| - 'samples/openapi3/client/petstore/dart*/**' | |
| jobs: | |
| tests-dart: | |
| name: Tests Dart | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 11 | |
| cache: maven | |
| - name: Cache test dependencies | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: pub-cache | |
| with: | |
| path: $PUB_CACHE | |
| key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('samples/**/pubspec.*') }} | |
| - uses: dart-lang/setup-dart@v1 | |
| with: | |
| sdk: 2.15.0 | |
| - name: Run tests | |
| uses: ./.github/actions/run-samples | |
| with: | |
| name: samples.dart |