mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-21 13:37:29 +01:00
Save dependencies to cache
This commit is contained in:
parent
8524c2ee56
commit
3e3871fe7e
@ -20,10 +20,10 @@ jobs:
|
|||||||
name: Build
|
name: Build
|
||||||
command: flutter -v build apk
|
command: flutter -v build apk
|
||||||
|
|
||||||
# - save_cache:
|
- save_cache:
|
||||||
# paths:
|
paths:
|
||||||
# - .dart_tool
|
- .dart_tool
|
||||||
# key: dart-dependencies-{{ checksum "pubspec.lock" }}
|
key: dart-dependencies-{{ checksum "pubspec.lock" }}
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
description: "Run static analysis for the code"
|
description: "Run static analysis for the code"
|
||||||
@ -31,11 +31,13 @@ jobs:
|
|||||||
- image: cirrusci/flutter:stable
|
- image: cirrusci/flutter:stable
|
||||||
working_directory: ~/project
|
working_directory: ~/project
|
||||||
steps:
|
steps:
|
||||||
# - checkout
|
- checkout
|
||||||
# - restore_cache:
|
|
||||||
# keys:
|
- restore_cache:
|
||||||
# - dart-dependencies-{{ checksum "pubspec.lock" }}
|
keys:
|
||||||
# - dart-dependencies-
|
- dart-dependencies-{{ checksum "pubspec.lock" }}
|
||||||
|
- dart-dependencies-
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Analyze code
|
name: Analyze code
|
||||||
command: flutter analyze lib
|
command: flutter analyze lib
|
||||||
@ -46,16 +48,11 @@ jobs:
|
|||||||
- image: cirrusci/flutter:stable
|
- image: cirrusci/flutter:stable
|
||||||
working_directory: ~/project
|
working_directory: ~/project
|
||||||
steps:
|
steps:
|
||||||
# - checkout
|
- checkout
|
||||||
# - restore_cache:
|
- restore_cache:
|
||||||
# keys:
|
keys:
|
||||||
# - dart-dependencies-{{ checksum "pubspec.lock" }}
|
- dart-dependencies-{{ checksum "pubspec.lock" }}
|
||||||
# - dart-dependencies-
|
- dart-dependencies-
|
||||||
|
|
||||||
# - save_cache:
|
|
||||||
# paths:
|
|
||||||
# - .dart_tool
|
|
||||||
# key: dart-dependencies-{{ checksum "pubspec.lock" }}
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
|
Loading…
Reference in New Issue
Block a user