Upgrade stellar #329
Workflow file for this run
This file contains hidden or 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: 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" | |
if [ -d "/tmp/.fvm/" ]; then | |
echo "/tmp/.fvm/ exists." | |
else | |
echo "/tmp/.fvm/ does not exist, creating it now." | |
mkdir -p /tmp/.fvm/ | |
fi | |
ln -s $FLUTTER_ROOT /tmp/.fvm/flutter_sdk | |
echo "Symbolic link created." | |
echo "Verifying symbolic link..." | |
ls -l /tmp/.fvm/flutter_sdk | |
/tmp/.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 . |