Skip to content

Commit

Permalink
dependabot-1 Removed unnecessary package installations in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bdebyl committed Jul 14, 2022
1 parent 341e490 commit dc8d15e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 17 deletions.
4 changes: 1 addition & 3 deletions .drone-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,13 @@ steps:
- name: build
image: golang:1.18.4
commands:
- apk add --update make git
- make drone-cache
environment:
CGO_ENABLED: 0

- name: lint
image: golang:1.18.4
commands:
- apk add --update make git curl
- make lint
environment:
CGO_ENABLED: 0
Expand Down Expand Up @@ -277,5 +275,5 @@ trigger:
branch:
- master
event:
-
-
...
3 changes: 0 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,13 @@ steps:
- name: build
image: golang:1.18.4
commands:
- apk add --update make git
- make drone-cache
environment:
CGO_ENABLED: 0

- name: lint
image: golang:1.18.4
commands:
- apk add --update make git curl
- make lint
environment:
CGO_ENABLED: 0
Expand All @@ -61,7 +59,6 @@ steps:
- name: generate
image: golang:1.18.4
commands:
- apk add --update make git
# Following environment tricks are because of unintended variable capture by flag library.
# This mitigates contamination happens when generating CLI flag documentation.
- env -i make PATH=$(which go):$PATH HOME=$HOME PWD=$PWD GO=$(which go) GOPATH=$(go env GOPATH) generate
Expand Down
5 changes: 0 additions & 5 deletions DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache
Expand Down Expand Up @@ -163,7 +162,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache-with-filesystem
Expand Down Expand Up @@ -215,7 +213,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache-with-key
Expand Down Expand Up @@ -264,7 +261,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache-with-gzip
Expand Down Expand Up @@ -303,7 +299,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: restore-cache-debug
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache
Expand Down
5 changes: 0 additions & 5 deletions docs/examples/drone.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache
Expand Down Expand Up @@ -77,7 +76,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache-with-filesystem
Expand Down Expand Up @@ -130,7 +128,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache-with-key
Expand Down Expand Up @@ -178,7 +175,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: rebuild-cache-with-gzip
Expand Down Expand Up @@ -217,7 +213,6 @@ steps:
image: golang:1.18.4
pull: true
commands:
- apk add --update make git
- make drone-cache

- name: restore-cache-debug
Expand Down

0 comments on commit dc8d15e

Please sign in to comment.