Skip to content

Add dart format check to CI workflow #5

Add dart format check to CI workflow

Add dart format check to CI workflow #5

Workflow file for this run

name: Checks
on:
pull_request:
jobs:
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.38.1'
- name: Configure app
run: |
cd scripts
./build_app.sh -v "0.0.1" -b "1" -p "linux" -a "stack_wallet"
- name: Debug workspace
run: |
echo "Current directory: $(pwd)"
echo "Workspace: ${{ github.workspace }}"
ls -la
ls -la ${{ github.workspace }}
- name: Install dependencies
run: flutter pub get
- name: Verify Dart formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze Dart project source
run: flutter analyze