chore(ios): upgrade native library to 1.4.2 #183
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: Tests and analysis | |
on: [ push ] | |
jobs: | |
run_tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter | |
id: flutter-action | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
cache: ${{ inputs.cache }} | |
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.yaml') }} | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run tests | |
run: flutter test | |
analyze_code: | |
name: Analyze code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter | |
id: flutter-action | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
cache: ${{ inputs.cache }} | |
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.yaml') }} | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Flutter analyze | |
run: flutter analyze | |
calculate_score: | |
name: Calculate score | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter | |
id: flutter-action | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
cache: ${{ inputs.cache }} | |
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.yaml') }} | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Install pana | |
run: flutter pub global activate pana | |
- name: Calculate pub points | |
run: flutter pub pub global run pana --exit-code-threshold 0 . | |
test_publishing: | |
name: Test publishing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter | |
id: flutter-action | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
cache: ${{ inputs.cache }} | |
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.yaml') }} | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Flutter publish dry run | |
run: flutter pub publish --dry-run |