From 9a6dd4ddaa84d8e9ee5734a6bc5c15b497ce5c03 Mon Sep 17 00:00:00 2001 From: gobinath s <117622182+gopi2401@users.noreply.github.com> Date: Mon, 23 Sep 2024 22:18:40 +0530 Subject: [PATCH] Update codeql.yml --- .github/workflows/codeql.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index dbc8b35..cec5dea 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,4 +1,4 @@ -name: "Dart and Flutter Static Analysis" +name: Dart and Flutter Static Analysis on: push: @@ -15,11 +15,15 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - # Set up Flutter environment + # Clean Flutter cache (optional) + - name: Clean Flutter cache + run: flutter clean + + # Set up Flutter with a specific version - name: Set up Flutter uses: subosito/flutter-action@v2 with: - flutter-version: 'stable' + flutter-version: '3.10.5' # Install dependencies - name: Install dependencies