Skip to content

Commit

Permalink
Merge pull request #846 from atsign-foundation/cpswan-beta-static-ana…
Browse files Browse the repository at this point in the history
…lysis

ci: Add Flutter beta channel to static analysis matrix
  • Loading branch information
cpswan authored May 20, 2024
2 parents 9a38715 + 2391af7 commit 4c63066
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ jobs:
- at_onboarding_flutter
- at_sync_ui_flutter
- at_theme_flutter
flutter-channel:
- stable
- beta

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2.16.0
with:
channel: "stable"
channel: "${{ matrix.flutter-channel}}"
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: 'stable'
Expand All @@ -50,7 +53,11 @@ jobs:
run: |
touch example/.env
flutter pub get
flutter analyze --no-fatal-infos
if [ "${{ matrix.flutter-channel}}" = "beta" ]; then
flutter analyze
else
flutter analyze --no-fatal-infos
fi
# Runs osv-scanner to find any vulnerable Dart dependencies
# It needs to look at pubspec.lock files, which is why it's
Expand Down

0 comments on commit 4c63066

Please sign in to comment.