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

Aperta
#147 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
flutter, python
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
4
Fork
1
Merge medio
10h 41m
PR unite (30g)
79

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cpp-best-practices/project_validator

Tutte le issue di cpp-best-practices/project_validator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.