Skip to content

Commit a279855

Browse files
committed
The build jobs do need to depend on check:lint, this should speed up CI/CD
1 parent a46505d commit a279855

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ build:merge:
109109

110110
build:linux:
111111
stage: build
112-
needs:
113-
- job: check:lint
114-
optional: true
112+
needs: []
115113
script:
116114
- >
117115
nix-shell --run '
@@ -135,9 +133,7 @@ build:linux:
135133

136134
build:windows:
137135
stage: build
138-
needs:
139-
- job: check:lint
140-
optional: true
136+
needs: []
141137
tags:
142138
- windows
143139
before_script:
@@ -165,9 +161,7 @@ build:windows:
165161

166162
build:macos:
167163
stage: build
168-
needs:
169-
- job: check:lint
170-
optional: true
164+
needs: []
171165
tags:
172166
- shared-macos-amd64
173167
image: macos-11-xcode-12

0 commit comments

Comments
 (0)