Skip to content

Update codeql.yml

Update codeql.yml #6

Workflow file for this run

name: Dart and Flutter Static Analysis
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
analyze:
name: Analyze Dart Code
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Set up Flutter with a specific version
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.5'
# Install dependencies
- name: Install dependencies
run: flutter pub get
# Run Dart/Flutter static analysis
- name: Run Flutter Analyze
run: flutter analyze
# Run Dart Unit tests
- name: Run Flutter tests
run: flutter test