Update version number to 2.3.0 (#248) #104
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: test | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- master | |
env: | |
FLUTTER_VERSION: '3.24.0' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Cache Flutter dependencies | |
uses: actions/cache@v3 | |
with: | |
path: /opt/hostedtoolcache/flutter | |
key: ${{ runner.OS }}-flutter-install-cache-${{ env.FLUTTER_VERSION }} | |
- name: Install Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
- name: Install dependencies | |
run: | | |
flutter pub get | |
- name: Prepare client ID | |
run: | | |
cp lib/client_id.dart.orig lib/client_id.dart | |
- name: Test | |
run: | | |
flutter test |