From dc8d15e3c1891310f7edd889cea3ec7351b73af8 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Thu, 14 Jul 2022 16:58:40 -0400 Subject: [PATCH] dependabot-1 Removed unnecessary package installations in CI --- .drone-local.yml | 4 +--- .drone.yml | 3 --- DOCS.md | 5 ----- README.md | 1 - docs/examples/drone.md | 5 ----- 5 files changed, 1 insertion(+), 17 deletions(-) diff --git a/.drone-local.yml b/.drone-local.yml index 5be10645..f3db0517 100644 --- a/.drone-local.yml +++ b/.drone-local.yml @@ -32,7 +32,6 @@ steps: - name: build image: golang:1.18.4 commands: - - apk add --update make git - make drone-cache environment: CGO_ENABLED: 0 @@ -40,7 +39,6 @@ steps: - name: lint image: golang:1.18.4 commands: - - apk add --update make git curl - make lint environment: CGO_ENABLED: 0 @@ -277,5 +275,5 @@ trigger: branch: - master event: - - + - ... diff --git a/.drone.yml b/.drone.yml index 9fc5bcb2..e161bc2b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,6 @@ steps: - name: build image: golang:1.18.4 commands: - - apk add --update make git - make drone-cache environment: CGO_ENABLED: 0 @@ -38,7 +37,6 @@ steps: - name: lint image: golang:1.18.4 commands: - - apk add --update make git curl - make lint environment: CGO_ENABLED: 0 @@ -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 diff --git a/DOCS.md b/DOCS.md index bb1a85d1..b6c8196b 100644 --- a/DOCS.md +++ b/DOCS.md @@ -118,7 +118,6 @@ steps: image: golang:1.18.4 pull: true commands: - - apk add --update make git - make drone-cache - name: rebuild-cache @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/README.md b/README.md index 1d65f7e9..92095941 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,6 @@ steps: image: golang:1.18.4 pull: true commands: - - apk add --update make git - make drone-cache - name: rebuild-cache diff --git a/docs/examples/drone.md b/docs/examples/drone.md index 643954ba..696c81ad 100644 --- a/docs/examples/drone.md +++ b/docs/examples/drone.md @@ -30,7 +30,6 @@ steps: image: golang:1.18.4 pull: true commands: - - apk add --update make git - make drone-cache - name: rebuild-cache @@ -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 @@ -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 @@ -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 @@ -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