From ac69f05caa8db999a59ea7d16d437436670c281a Mon Sep 17 00:00:00 2001 From: Igor Borges Date: Sun, 7 Oct 2018 20:41:43 -0300 Subject: [PATCH] caching flutter folder didn't work --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eb2a731..fa18221 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,6 @@ jobs: - .packages - .dart_tool - ~/.pub-cache - - ~/sdks/flutter key: v1-pubcache-{{ checksum "pubspec.yaml" }} test: @@ -34,6 +33,12 @@ jobs: - checkout - restore_cache: key: v1-pubcache-{{ checksum "pubspec.yaml" }} + - run: + name: Change flutter channel to dev + command: flutter channel dev + - run: + name: Up(down)grade Flutter + command: ( cd ~/sdks/flutter; git checkout 3581b3ae85d30c5677445e0072c81d1f32280270; cd -; ) - run: name: Lint command: bash -c '[[ "$(dartfmt -n . | wc -l)" -eq "0" ]]'