feat: git object detection #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🐦 Flutter CI | |
on: | |
push: | |
# paths: | |
# - apps/** | |
# - packages/** | |
# - .github/workflows/CI.yml | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
format: | |
name: "🛠️ Validate format" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
cache: true | |
channel: beta | |
- uses: bluefireteam/melos-action@v3 | |
- run: melos format --set-exit-if-changed | |
analyze: | |
name: "🔍 Analyze code" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
cache: true | |
channel: beta | |
- uses: bluefireteam/melos-action@v3 | |
- uses: invertase/[email protected] | |
with: | |
fatal-infos: true | |
test: | |
name: "🧪 Run test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
cache: true | |
channel: beta | |
- uses: bluefireteam/melos-action@v3 | |
- run: echo TODO # TODO: melos test |