From 5dc288cb77ac910a642db294261e42f173ff26a0 Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Wed, 18 Dec 2024 09:09:10 +0100 Subject: [PATCH] Test with older flutter version --- .github/workflows/validate.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 6ff61f6b..c7d41d24 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -6,6 +6,9 @@ on: branches: - main +env: + FLUTTER_MIN_VERSION: '3.25.4' + jobs: analyze: runs-on: ubuntu-latest @@ -13,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 with: - channel: stable + flutter-version: ${{env.FLUTTER_MIN_VERSION}} cache: true - name: Install Tools run: ./.github/workflows/scripts/install-tools.sh @@ -73,7 +76,7 @@ jobs: fetch-depth: 0 - uses: subosito/flutter-action@v2 with: - channel: stable + flutter-version: ${{env.FLUTTER_MIN_VERSION}} cache: true - name: Install Tools run: ./.github/workflows/scripts/install-tools.sh @@ -89,7 +92,7 @@ jobs: fetch-depth: 0 - uses: subosito/flutter-action@v2 with: - channel: stable + flutter-version: ${{env.FLUTTER_MIN_VERSION}} cache: true - name: Install Tools run: ./.github/workflows/scripts/install-tools.sh @@ -105,7 +108,7 @@ jobs: fetch-depth: 0 - uses: subosito/flutter-action@v2 with: - channel: stable + flutter-version: ${{env.FLUTTER_MIN_VERSION}} cache: true - name: Install Tools run: .\.github\workflows\scripts\install-tools.bat