dart-lang / dart-lang/setup-dart
general updates to the setup action
- Dominant language
- Dart
- Stars
- 223
- Forks
- 46
- Avg merge
- 11h 47m
- Merged PRs (30d)
- 6
Description
We could likely use a general update to the action. Some things we'd want to include:
- [x] use patch versions in our versioning scheme (even if they're always zero). currently we use major.minor, which is non-standard (https://github.com/dart-lang/setup-dart/issues/71)
- [x] refactor the implementation of the action into Dart
- [x] auto-detect macos arm; https://github.com/dart-lang/setup-dart/issues/59
- [x] support version segment placeholder; #56
- [ ] consider revising and improving our caching for provisioning the dart sdk https://github.com/dart-lang/setup-dart/issues/2
- [ ] consider adding auto-caching for pub packages / the pub cache
Additionally, the implementation of this action is in bash; we may consider refactoring it into Dart; this will give us access to some std libraries from github - like for caching - and generally make the action easier to maintain.
Contributor guide
Research direction
Start by reviewing the action's current Bash implementation and the two unchecked caching items: Dart SDK provisioning and automatic pub-package caching. The completed checklist entries provide context, but the issue does not identify files, tests, or a single acceptance condition; completion would require defining the caching improvements and any remaining implementation changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, dart, github-actions
- Domain
- ci-cd, devops, tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100