Skip to content

feat: add timeout to the http client #707

feat: add timeout to the http client

feat: add timeout to the http client #707

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'
jobs:
Tests:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Cache Gradle and wrapper
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'zulu'
- name: Grant Permission for Gradlew to Execute
run: chmod +x gradlew
- name: Run Lint
run: ./gradlew lintDebug
- name: Run Ktlint
run: ./gradlew ktlintCheck
- name: Run build debug
run: ./gradlew assembleDebug
- name: Run Tests
run: ./gradlew :Provider:testDebugUnitTest --no-daemon --stacktrace --info
- name: Run build release
run: ./gradlew assembleRelease