-
Notifications
You must be signed in to change notification settings - Fork 90
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
Github composite action for setting up flutter on runner #1710
Conversation
Pull Request Test Coverage Report for Build 9379428366Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9379691723Details
💛 - Coveralls |
d04f88f
to
626d404
Compare
Pull Request Test Coverage Report for Build 9383223384Details
💛 - Coveralls |
ffb1b12
to
e9ce82f
Compare
Pull Request Test Coverage Report for Build 9383681097Details
💛 - Coveralls |
86a5743
to
5b49bd5
Compare
Pull Request Test Coverage Report for Build 9384312507Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9385985556Details
💛 - Coveralls |
# Saving on feature branches will only benefit reruns, so we don't bother. | ||
# Feature branches inherit the cache from the main branch anyway. | ||
# This saves on cache storage. | ||
if: github.ref != 'refs/heads/main' && steps.restore.outputs.cache-hit != 'true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be github.ref == 'refs/heads/main'
? Also, we seem to be only be storing the cache if we don't have a cache hit, but then we use the cache primary key as input to the save action, which seems odd.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nirinchev You are a bit early 😊 . Yes it should be ==
.. the !=
is just for debugging. I'm hoping to have pingbird/puro#87 resolved first.
You cannot update a cache in github actions, only write a new one. So if you have an exact hit, trying save on the same key would fail. The primary key is the key we tried to lookup, and where we will store the updated cache, if either none existed, or the one matched pertained to a stale set of pubspec.yaml
files, and hence was only a partial match.
Pull Request Test Coverage Report for Build 9400014073Details
💛 - Coveralls |
544c233
to
a12009e
Compare
Pull Request Test Coverage Report for Build 9405930441Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9406859191Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9407048257Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9407048257Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
140bba5
to
05bc8f3
Compare
Pull Request Test Coverage Report for Build 9407808197Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9408181155Details
💛 - Coveralls |
5929bfa
to
4dcad23
Compare
Pull Request Test Coverage Report for Build 9414059395Details
💛 - Coveralls |
@nirinchev I think I will accept that caching is simply disabled on windows for now. So I have opened the PR for review. |
c46ae7e
to
953e761
Compare
Pull Request Test Coverage Report for Build 9414806581Details
💛 - Coveralls |
* main: Add vNext Changelog header (#1717) [Release 3.0.0] (#1716) libraryVersion moved to realm_libary.dart (take 2) libraryVersion moved to realm_libary.dart Update CHANGELOG (#1715) Github composite action for setting up flutter on runner (#1710) RDART-866: kn/decimal128 web support (#1713) Reduce expected gain of memEquals for test stability Refresh after awaiting download to stabilize tests RDART-866: Minimal web support (#1699) RDART-1052: Update realm-core to v14.9.0 (#1704) RDART-1020: Fix writeAsync behaviour (#1666) RDART-999: Fix flutter test dlopen (#1623) RDART-1045: Expose setrlimit ios (#1700) RDART-962: Use xcode 15.4 (#1548) RDART-1039: Drop catalyst support. Flutter doesn't support it (#1696) # Conflicts: # packages/realm_dart/src/realm-core
subosito/flutter-action@v2
with a puro based setup.D:
drive (same as$GITHUB_WORKSPACE
) for IO speed.Currently caching is disabled on windows, but this PR is still faster wrt. to flutter setup on windows, than what we currently use. However, it is mostly for the simplifications we should consider this. Overall the setup steps in our jobs does n't contribute a lot to the full runtime.