Workflows used subosito/flutter-action with no version, silently tracking GitHub's latest stable. When stable rolled to 3.44.1 it broke the build with no code change. Pin explicitly so builds are reproducible and Flutter upgrades are a deliberate bump rather than a surprise. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
394 B
YAML
18 lines
394 B
YAML
name: Check PR
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
jobs:
|
|
check:
|
|
name: Check and test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: subosito/flutter-action@v2
|
|
with:
|
|
flutter-version: 3.44.1
|
|
cache: true
|
|
- run: flutter doctor -v
|
|
- run: flutter pub get
|
|
- run: flutter analyze
|
|
- run: flutter test
|