Skip to content
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

Flutter hint in the documentation #52

Open
asashour opened this issue May 6, 2022 · 3 comments
Open

Flutter hint in the documentation #52

asashour opened this issue May 6, 2022 · 3 comments
Labels
type-documentation A request to add or improve documentation

Comments

@asashour
Copy link

asashour commented May 6, 2022

On creating a new action, there is some hint about being used with Flutter

# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
  run: dart test

And since my project is actually Flutter, changing this to flutter test, gives the error

Flutter users should run flutter pub get instead of dart pub get.

And on changing the action to flutter pub get there is an error

flutter: command not found


I guess this action is for Dart, not Flutter. In this case, please change the action comments accordingly.

@mit-mit
Copy link
Member

mit-mit commented May 12, 2022

Hi, can you clarify where you are seeing that message?

@asashour
Copy link
Author

In GitHub repository:

  • Click "Actions"
    image

  • New Workflow

image

  • Select Dart (Configure)
    image

The file generated would have this message

image

@devoncarew
Copy link
Member

The resolution here may be to recommend that people use a Flutter specific action instead of this dart action for testing their project.

@devoncarew devoncarew added the type-documentation A request to add or improve documentation label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-documentation A request to add or improve documentation
Projects
None yet
Development

No branches or pull requests

3 participants