Skip to content

Upgrade stellar

Upgrade stellar #327

Workflow file for this run

name: Analyze
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Repository
uses: actions/checkout@v3
- name: Set up FVM
id: fvm
uses: kuhnroyal/flutter-fvm-config-action/config@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ steps.fvm.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm.outputs.FLUTTER_CHANNEL }}
- name: Create flutter symbolic link
run: |
echo "FLUTTER_ROOT is set to: $FLUTTER_ROOT"
echo "BUILD_DIR is set to: $BUILD_DIR"
if [ -d "$BUILD_DIR/.fvm/" ]; then
echo "$BUILD_DIR/.fvm/ exists."
else
echo "$BUILD_DIR/.fvm/ does not exist, creating it now."
mkdir -p $BUILD_DIR/.fvm/
fi
ln -s $FLUTTER_ROOT $BUILD_DIR/.fvm/flutter_sdk
echo "Symbolic link created."
echo "Verifying symbolic link..."
ls -l $BUILD_DIR/.fvm/flutter_sdk
$BUILD_DIR/.fvm/flutter_sdk/bin/flutter --version
- name: Install Melos
run: dart pub global activate melos
- name: Install dependencies
run: melos bootstrap
- name: Analyze
run: dart analyze .