Dart: read flutter-action's channel as a Flutter SDK version

Offen
#147 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
flutter, python
Bereich
tooling

Rechercherichtung

Start by reading the Dart profile and the ActionStep fact that exposes action inputs; the issue does not name file paths or tests. Trace how flutter-version and channel are currently read, then check the profile output for jobs with only channel: stable and with both inputs. Done means channel-only jobs report Flutter stable without counting two toolchains when both inputs are present.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Follow-up to the Dart profile. subosito/flutter-action takes flutter-version: 3.24.0 or channel: stable (or both, where the channel qualifies the version). The profile reads flutter-version as a Flutter SDK version and skips channel, because channel: is too generic a key to match on its own and a job giving both would otherwise count two toolchains. A job with only channel: stable therefore counts as "default", like one naming no SDK.

Reading the action's inputs structurally (the ActionStep fact has them) instead of by regular expression over the job text would let the profile say "Flutter stable" when only the channel is given.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
10 Std. 41 Min.
Gemergte PRs (30 T.)
79

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cpp-best-practices/project_validator

Alle Issues in cpp-best-practices/project_validator

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.