1
0
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:
Oystein Kristoffer Tveit 2021-03-05 23:40:05 +01:00
parent 6eab955075
commit 8432306edb

View File

@ -27,12 +27,11 @@ jobs:
lint:
description: "Run static analysis for the code"
requires: build
docker:
- image: cirrusci/flutter:v1.10.7
- image: cirrusci/flutter:stable
working_directory: ~/project
steps:
- checkout
# - checkout
# - restore_cache:
# keys:
# - dart-dependencies-{{ checksum "pubspec.lock" }}
@ -43,12 +42,11 @@ jobs:
test:
description: "Run all unittests"
requires: build
docker:
- image: cirrusci/flutter:v1.10.7
- image: cirrusci/flutter:stable
working_directory: ~/project
steps:
- checkout
# - checkout
# - restore_cache:
# keys:
# - dart-dependencies-{{ checksum "pubspec.lock" }}
@ -70,5 +68,7 @@ workflows:
build_and_test:
jobs:
- build
- lint
- test
- lint:
requires: build
- test:
requires: build