* update README with new info
* setup.sh: update arg parsing to add support for `flutter-version-file` as `-f pubspec.yaml`
* action.yaml: add flutter-version-file
* setup.sh: require `yq` only when -f option is specified
* fix tests and add a new one
* enable shell options: `errexit` and `nounset`
* move falling back to defaults to single place - setup.sh
* action.yaml: reduce number of arguments in the last invocation
* Bump actions/cache to v4 to suppress node warnings
* Respect `PUB_CACHE` from the environment
* Cache pub-cache separately from flutter
In order to reduce the extra work that happens when you update your
pubspec.lock, don't use `hashFiles('**/pubspec.lock')` in the hash of
the flutter installation, and separately cache the `.pubspec-cache`.
Also return the `.pub-cache` to `$HOME`, since it's not part of the tool
installation.
* Fix README example of pub-cache-path and document `PUB_CACHE`
* feat: support to set architecture of SDK executable
* docs: update
* fix: try fix tests
* ci: set `fail-fast` to false
* fix: get latest version sdk
* fix: test any version
* fix: legacy version format
* fix: tests
* revert changes for `.github/workflows/workflow.yml`
* Update workflow.yml
* rename `ARCHITECTURE` to `ARCH`
* follow the existing spacing
* style: simplified code
* Update setup.sh
* style
Something with the globing seems not work but not sure exactly. Now using a simple way of ensure that the target folder never exists when calling `mv` so that it behaves as a rename instead of a move into. The folder still needs to be created first so that parent folders (in case of a custom cache path) are created.