chore: update editor dependency #42
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: Analyze code | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "packages/**" | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- main | |
paths: | |
- "packages/**" | |
workflow_dispatch: | |
env: | |
FLUTTER_VERSION: "3.24.0" | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Fetch code from repository | |
uses: actions/checkout@v4 | |
- name: Setup the Flutter environment | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
- name: Setup Melos | |
run: dart pub global activate melos | |
- name: Get Flutter dependencies | |
run: melos get | |
- name: Check for formatting issues | |
run: melos format | |
- name: Run the analyzer | |
run: melos analyze |