From e48490cad763eb16823413bd0e3d2922530078eb Mon Sep 17 00:00:00 2001 From: Luan Nico Date: Tue, 15 Oct 2024 00:05:15 -0400 Subject: [PATCH] chore: Update flame_3d to use Flutter stable channel --- .github/workflows/cicd.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index a2161ffb62..43aa297dc0 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -7,6 +7,10 @@ on: pull_request: types: [opened, reopened, synchronize] + +env: + FLUTTER_MIN_VERSION: '3.22.0' + jobs: # BEGIN LINTING STAGE format: @@ -14,8 +18,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 - with: - channel: main - uses: bluefireteam/melos-action@v3 - run: melos run format-check @@ -25,7 +27,18 @@ jobs: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: - channel: main + flutter-version: ${{env.FLUTTER_MIN_VERSION}} + - uses: bluefireteam/melos-action@v3 + - name: "Analyze with lowest supported version" + uses: invertase/github-action-dart-analyzer@v3 + with: + fatal-infos: true + + analyze-latest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 - uses: bluefireteam/melos-action@v3 - name: "Analyze with latest stable" uses: invertase/github-action-dart-analyzer@v3 @@ -47,8 +60,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 - with: - channel: main - uses: bluefireteam/melos-action@v3 - name: Install DCM uses: CQLabs/setup-dcm@v1 @@ -66,7 +77,6 @@ jobs: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: - channel: main cache: true - uses: bluefireteam/melos-action@v3 - name: Run tests