Skip to content

Commit

Permalink
chore: Try the version of cicd.yml used on main
Browse files Browse the repository at this point in the history
  • Loading branch information
luanpotter committed Oct 29, 2024
1 parent 0c0e8f2 commit adec9ae
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ on:
pull_request:
types: [opened, reopened, synchronize]


env:
FLUTTER_MIN_VERSION: '3.22.0'

jobs:
# BEGIN LINTING STAGE
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: main
- uses: bluefireteam/melos-action@v3
- run: melos run format-check

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit adec9ae

Please sign in to comment.