Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit dc8d15e

Browse files
committed
dependabot-1 Removed unnecessary package installations in CI
1 parent 341e490 commit dc8d15e

File tree

5 files changed

+1
-17
lines changed

5 files changed

+1
-17
lines changed

.drone-local.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ steps:
3232
- name: build
3333
image: golang:1.18.4
3434
commands:
35-
- apk add --update make git
3635
- make drone-cache
3736
environment:
3837
CGO_ENABLED: 0
3938

4039
- name: lint
4140
image: golang:1.18.4
4241
commands:
43-
- apk add --update make git curl
4442
- make lint
4543
environment:
4644
CGO_ENABLED: 0
@@ -277,5 +275,5 @@ trigger:
277275
branch:
278276
- master
279277
event:
280-
-
278+
-
281279
...

.drone.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@ steps:
3030
- name: build
3131
image: golang:1.18.4
3232
commands:
33-
- apk add --update make git
3433
- make drone-cache
3534
environment:
3635
CGO_ENABLED: 0
3736

3837
- name: lint
3938
image: golang:1.18.4
4039
commands:
41-
- apk add --update make git curl
4240
- make lint
4341
environment:
4442
CGO_ENABLED: 0
@@ -61,7 +59,6 @@ steps:
6159
- name: generate
6260
image: golang:1.18.4
6361
commands:
64-
- apk add --update make git
6562
# Following environment tricks are because of unintended variable capture by flag library.
6663
# This mitigates contamination happens when generating CLI flag documentation.
6764
- env -i make PATH=$(which go):$PATH HOME=$HOME PWD=$PWD GO=$(which go) GOPATH=$(go env GOPATH) generate

DOCS.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ steps:
118118
image: golang:1.18.4
119119
pull: true
120120
commands:
121-
- apk add --update make git
122121
- make drone-cache
123122

124123
- name: rebuild-cache
@@ -163,7 +162,6 @@ steps:
163162
image: golang:1.18.4
164163
pull: true
165164
commands:
166-
- apk add --update make git
167165
- make drone-cache
168166

169167
- name: rebuild-cache-with-filesystem
@@ -215,7 +213,6 @@ steps:
215213
image: golang:1.18.4
216214
pull: true
217215
commands:
218-
- apk add --update make git
219216
- make drone-cache
220217

221218
- name: rebuild-cache-with-key
@@ -264,7 +261,6 @@ steps:
264261
image: golang:1.18.4
265262
pull: true
266263
commands:
267-
- apk add --update make git
268264
- make drone-cache
269265

270266
- name: rebuild-cache-with-gzip
@@ -303,7 +299,6 @@ steps:
303299
image: golang:1.18.4
304300
pull: true
305301
commands:
306-
- apk add --update make git
307302
- make drone-cache
308303

309304
- name: restore-cache-debug

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ steps:
8080
image: golang:1.18.4
8181
pull: true
8282
commands:
83-
- apk add --update make git
8483
- make drone-cache
8584

8685
- name: rebuild-cache

docs/examples/drone.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ steps:
3030
image: golang:1.18.4
3131
pull: true
3232
commands:
33-
- apk add --update make git
3433
- make drone-cache
3534

3635
- name: rebuild-cache
@@ -77,7 +76,6 @@ steps:
7776
image: golang:1.18.4
7877
pull: true
7978
commands:
80-
- apk add --update make git
8179
- make drone-cache
8280

8381
- name: rebuild-cache-with-filesystem
@@ -130,7 +128,6 @@ steps:
130128
image: golang:1.18.4
131129
pull: true
132130
commands:
133-
- apk add --update make git
134131
- make drone-cache
135132

136133
- name: rebuild-cache-with-key
@@ -178,7 +175,6 @@ steps:
178175
image: golang:1.18.4
179176
pull: true
180177
commands:
181-
- apk add --update make git
182178
- make drone-cache
183179

184180
- name: rebuild-cache-with-gzip
@@ -217,7 +213,6 @@ steps:
217213
image: golang:1.18.4
218214
pull: true
219215
commands:
220-
- apk add --update make git
221216
- make drone-cache
222217

223218
- name: restore-cache-debug

0 commit comments

Comments
 (0)