fix(deps): update dependency device_preview_plus to v2.1.5 #1392
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: Create GitHub App token 🔑 | |
id: app-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ secrets.GH_APP_ID }} | |
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} | |
- name: Checkout 🛎️ | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
token: ${{ steps.app-token.outputs.token }} | |
- 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.16.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@v4 | |
with: | |
path: | | |
**/.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@v5.0.1 | |
with: | |
commit_message: "chore(deps): dependencies maintenance" |