We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8017a4a commit a5620f3Copy full SHA for a5620f3
.gitlab/templates/pipeline.yaml.tpl
@@ -17,21 +17,20 @@ variables:
17
18
{{ range $flavor := (ds "flavors").flavors }}
19
20
+{{ if $flavor.needs_code_checks }}
21
22
cargo fmt ({{ $flavor.name }}):
23
stage: check code
24
tags: ["arch:{{ $flavor.arch }}"]
25
image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
- rules:
26
- - if: {{ $flavor.needs_code_checks }}
27
needs: []
28
script:
29
- cd bottlecap && cargo fmt
30
+{{ end }} # end needs_code_checks
31
32
{{ end }} # end flavors
33
34
-
35
{{ range $architecture := (ds "architectures").architectures }}
36
37
cargo check ({{ $architecture.name }}):
0 commit comments