Bump shared_preferences from 2.1.1 to 2.1.2 #13
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
on: | |
push: | |
branches: | |
- "feature/**" | |
- "bugfix/**" | |
- "hotfix/**" | |
- "support/**" | |
- "dependabot/pub/**" | |
- "master" | |
pull_request: | |
branches: | |
- "feature/**" | |
- "bugfix/**" | |
- "hotfix/**" | |
- "support/**" | |
- "dependabot/pub/**" | |
workflow_dispatch: | |
name: "Test Analyze" | |
jobs: | |
test-analyze: | |
runs-on: ubuntu-latest | |
container: | |
image: plugfox/flutter:3.10.0 | |
options: --user root | |
steps: | |
- name: 🫰 Check flutter version | |
run: flutter --version | |
- name: 🚂 Get latest code | |
uses: actions/checkout@v2 | |
- name: 🐝 Dart tools activation | |
run: | | |
dart pub global activate coverage | |
- name: 👷 Install Dependencies | |
timeout-minutes: 1 | |
run: flutter pub get | |
- name: 📦 Install dependencies in packages | |
timeout-minutes: 1 | |
run: for d in packages/*; do (cd "$d" && flutter pub get); done | |
- name: 😊 Run codegen | |
run: flutter pub run build_runner build --delete-conflicting-outputs | |
- name: 🔎 Check format | |
timeout-minutes: 1 | |
run: | | |
dart format -l 100 --set-exit-if-changed $(find lib test -name "*.dart" -not \( -name "*.*.dart" \) ) | |
- name: 📈 Check analyzer | |
timeout-minutes: 1 | |
run: | | |
flutter analyze --fatal-infos --fatal-warnings | |
- name: 🧪 Run tests | |
timeout-minutes: 2 | |
run: | | |
flutter test --coverage -r expanded | |
- name: 📥 Upload coverage to Codecov | |
if: ${{ github.ref == 'refs/heads/main' }} | |
timeout-minutes: 1 | |
uses: codecov/[email protected] |