mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-21 13:37:29 +01:00
Move 'requires' keyword to workflows
This commit is contained in:
parent
6eab955075
commit
8432306edb
@ -27,12 +27,11 @@ jobs:
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
description: "Run static analysis for the code"
|
description: "Run static analysis for the code"
|
||||||
requires: build
|
|
||||||
docker:
|
docker:
|
||||||
- image: cirrusci/flutter:v1.10.7
|
- 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" }}
|
||||||
@ -43,12 +42,11 @@ jobs:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
description: "Run all unittests"
|
description: "Run all unittests"
|
||||||
requires: build
|
|
||||||
docker:
|
docker:
|
||||||
- image: cirrusci/flutter:v1.10.7
|
- 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" }}
|
||||||
@ -70,5 +68,7 @@ workflows:
|
|||||||
build_and_test:
|
build_and_test:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- build
|
||||||
- lint
|
- lint:
|
||||||
- test
|
requires: build
|
||||||
|
- test:
|
||||||
|
requires: build
|
Loading…
Reference in New Issue
Block a user