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

chore: refactor CI #220

Merged
merged 5 commits into from
Jul 3, 2024
Merged

chore: refactor CI #220

merged 5 commits into from
Jul 3, 2024

Conversation

techouse
Copy link
Collaborator

@techouse techouse commented Jul 3, 2024

Facelift the CI a bit.

I'm not sure this needs subosito/flutter-action to be honest. It can probably work with dart-lang/setup-dart

Melos needs Flutter 🤪

@jhomlala
Copy link
Owner

jhomlala commented Jul 3, 2024

Why not using install-tools.sh? It duplicates configuration. Is this intended?

@techouse
Copy link
Collaborator Author

techouse commented Jul 3, 2024

The only time you should do that is when you use a reusable workflow, e.g.

jobs:
  test:
    uses: ./.github/workflows/test.yml
    secrets: inherit

Using a shell script like this is dirty because it does nothing special. I'd understand if it were some bash function that's hard to read in YAML or something similar to what mono_repo generates but this isn't that.

Is this intended?

Kinda. It's explicit.

@jhomlala
Copy link
Owner

jhomlala commented Jul 3, 2024

Okay, now it makes sense 👍

@techouse techouse merged commit 3822c60 into master Jul 3, 2024
2 checks passed
@techouse techouse deleted the chore/ci branch July 3, 2024 13:14
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.

2 participants