fix: Upgrade web_socket_channel
for supporting web: ^1.0.0
and therefore WASM compilation on web
#57
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: functions_client | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'packages/functions_client/**' | |
- '.github/workflows/functions_client.yaml' | |
- 'packages/yet_another_json_isolate/**' | |
pull_request: | |
paths: | |
- 'packages/functions_client/**' | |
- '.github/workflows/functions_client.yaml' | |
- 'packages/yet_another_json_isolate/**' | |
jobs: | |
test: | |
name: Test SDK ${{ matrix.sdk }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
sdk: [stable, beta, dev] | |
defaults: | |
run: | |
working-directory: packages/functions_client | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checks-out repo | |
uses: actions/checkout@v2 | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Bootstrap workspace | |
run: | | |
cd ../../ | |
dart pub global activate melos | |
melos bootstrap --no-flutter | |
- name: dartfmt | |
if: ${{ matrix.sdk == 'stable'}} | |
run: dart format lib test -l 80 --set-exit-if-changed | |
- name: analyzer | |
run: dart analyze --fatal-warnings --fatal-infos . | |
- name: Run tests | |
run: dart test |