Translate all DioExceptions
to NakamaError
s
#70
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: | |
- nakama | |
- nakama/example | |
- satori | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
- name: Install dependencies | |
run: dart pub get | |
working-directory: ${{ matrix.package }} | |
- name: Check formatting | |
run: dart format --set-exit-if-changed . | |
working-directory: ${{ matrix.package }} | |
- name: Analyze | |
run: dart analyze --fatal-infos | |
working-directory: ${{ matrix.package }} | |
- name: Start test server | |
run: docker compose up -d | |
working-directory: nakama/test/test_server | |
if: matrix.package == 'nakama' | |
- name: Run tests | |
run: dart test --concurrency 1 | |
working-directory: ${{ matrix.package }} | |
if: matrix.package == 'nakama' | |
- name: Build Flutter app (web) | |
run: flutter build web | |
working-directory: ${{ matrix.package }} | |
if: matrix.package == 'nakama/example' | |
- name: Build Flutter app (web,wasm) | |
run: flutter build web --wasm | |
working-directory: ${{ matrix.package }} | |
if: matrix.package == 'nakama/example' |