fix(deps): update dependency shared_preferences to v2.2.1 #731
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: Post dependency update | |
on: | |
pull_request: | |
paths: | |
- "**/pubspec.yaml" | |
- "**/pubspec.lock" | |
- .fvm/fvm_config.json | |
jobs: | |
update: | |
name: Update | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.PAT }} | |
- name: Get project Flutter version 🏷️ | |
id: fvm-config | |
uses: kuhnroyal/flutter-fvm-config-action@v1.2.0 | |
- name: Setup Flutter 💻 | |
uses: subosito/flutter-action@v2.10.0 | |
with: | |
flutter-version: ${{ steps.fvm-config.outputs.FLUTTER_VERSION }} | |
cache: true | |
cache-key: ${{ runner.os }}-flutter-${{ steps.fvm-config.outputs.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock') }} | |
- name: Setup Cocoapods 💻 | |
run: sudo gem install cocoapods | |
- name: Cache Pub 💾 | |
uses: actions/cache@v3 | |
with: | |
path: | | |
${{ env.PUB_CACHE }} | |
**/.dart_tool | |
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pub- | |
- name: Update dependencies 🔼 | |
run: | | |
flutter pub get | |
flutter precache --macos | |
cd macos && pod update | |
- name: Commit changes 🆕 | |
uses: stefanzweifel/git-auto-commit-action@v4.16.0 | |
with: | |
commit_message: "chore(deps): dependencies maintenance" |