Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Try the version of cicd.yml used on main [WIP] #3361

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading