Skip to content

[Kotlin][okhttp] replace okhttpclient with callfactory (#19422) #8

[Kotlin][okhttp] replace okhttpclient with callfactory (#19422)

[Kotlin][okhttp] replace okhttpclient with callfactory (#19422) #8

Workflow file for this run

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