Skip to content

fix(deps): update dependency dio to v5.3.3 #759

fix(deps): update dependency dio to v5.3.3

fix(deps): update dependency dio to v5.3.3 #759

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
with:
token: ${{ secrets.PAT }}
- name: Get project Flutter version 🏷️
id: fvm-config
uses: kuhnroyal/[email protected]
- name: Setup Flutter 💻
uses: subosito/[email protected]
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/[email protected]
with:
commit_message: "chore(deps): dependencies maintenance"