Skip to content

Commit 5a04819

Browse files
Revert "chore: speed up builds by skipping checks for now"
This reverts commit 2a575d2.
1 parent 2a575d2 commit 5a04819

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.gitlab/templates/pipeline.yaml.tpl

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@ variables:
2020

2121
{{ if $flavor.needs_code_checks }}
2222

23-
# cargo fmt ({{ $flavor.name }}):
24-
# stage: check code
25-
# tags: ["arch:{{ $flavor.arch }}"]
26-
# image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
27-
# needs: []
28-
# script:
29-
# - cd bottlecap && cargo fmt
30-
#
31-
# cargo check ({{ $flavor.name }}):
32-
# stage: check code
33-
# tags: ["arch:{{ $flavor.arch }}"]
34-
# image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
35-
# needs: []
36-
# script:
37-
# - cd bottlecap && cargo check
38-
#
39-
# cargo clippy ({{ $flavor.name }}):
40-
# stage: check code
41-
# tags: ["arch:{{ $flavor.arch }}"]
42-
# image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
43-
# needs: []
44-
# script:
45-
# - cd bottlecap && cargo clippy --all-features
23+
cargo fmt ({{ $flavor.name }}):
24+
stage: check code
25+
tags: ["arch:{{ $flavor.arch }}"]
26+
image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
27+
needs: []
28+
script:
29+
- cd bottlecap && cargo fmt
30+
31+
cargo check ({{ $flavor.name }}):
32+
stage: check code
33+
tags: ["arch:{{ $flavor.arch }}"]
34+
image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
35+
needs: []
36+
script:
37+
- cd bottlecap && cargo check
38+
39+
cargo clippy ({{ $flavor.name }}):
40+
stage: check code
41+
tags: ["arch:{{ $flavor.arch }}"]
42+
image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
43+
needs: []
44+
script:
45+
- cd bottlecap && cargo clippy --all-features
4646

4747
{{ end }} # end needs_code_checks
4848

0 commit comments

Comments
 (0)