这是indexloc提供的服务,不要输入任何密码
Skip to content

ci: install Flutter for format #542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2025
Merged

ci: install Flutter for format #542

merged 1 commit into from
Feb 16, 2025

Conversation

poppingmoon
Copy link
Owner

@poppingmoon poppingmoon commented Feb 16, 2025

Instead of installing the default version of Dart, install Flutter with the version specified in .fvmrc when checking the format.

This will avoid inconsistent formatting caused by different Dart versions introduced by FVM and the latest stable channel.

@poppingmoon poppingmoon merged commit 0f6de69 into main Feb 16, 2025
14 checks passed
@poppingmoon poppingmoon deleted the format-flutter branch February 16, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant