Release 0.7.4,优化上传域名熔断策略,当全部域名都被冻结后,立即随机选择一个域名返回,不抛出异常 #144
Workflow file for this run
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
| # This workflow uses actions that are not certified by GitHub. | |
| # They are provided by a third-party and are governed by | |
| # separate terms of service, privacy policy, and support | |
| # documentation. | |
| name: Base | |
| on: [push, pull_request] | |
| jobs: | |
| base: | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 1 | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| sdk: [3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, stable] | |
| exclude: | |
| - os: windows-latest | |
| sdk: 3.4 | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| working-directory: ./base | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dart-lang/setup-dart@v1 | |
| with: | |
| sdk: ${{ matrix.sdk }} | |
| - name: Install dependencies | |
| run: dart pub get | |
| - name: Format check | |
| run: dart format --output=none --set-exit-if-changed . | |
| - name: Analyze project source | |
| run: dart analyze --fatal-warnings --fatal-infos | |
| - name: Run tests | |
| run: | | |
| set -e | |
| ./coverage.sh | |
| bash <(curl -s https://codecov.io/bash) | |
| shell: bash | |
| env: | |
| QINIU_DART_SDK_ACCESS_KEY: ${{ secrets.QINIU_DART_SDK_ACCESS_KEY }} | |
| QINIU_DART_SDK_SECRET_KEY: ${{ secrets.QINIU_DART_SDK_SECRET_KEY }} | |
| QINIU_DART_SDK_TOKEN_SCOPE: ${{ secrets.QINIU_DART_SDK_TOKEN_SCOPE }} |