Skip to content

Commit

Permalink
removed go download
Browse files Browse the repository at this point in the history
lint step will run `go mod tidy`

Signed-off-by: Noam Gal <[email protected]>
  • Loading branch information
ATGardner committed Oct 17, 2023
1 parent 6fd2a91 commit d8a73c9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions build/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ steps:

prepare_env_vars: &deps
stage: Prepare
title: prepare-env & download modules
title: prepare-env
image: quay.io/codefresh/golang-ci-helper:1.21.1
commands:
- cf_export GO111MODULE=on
Expand All @@ -31,16 +31,15 @@ steps:
on:
- success

download_modules:
clean:
<<: *deps
stage: Prepare
title: download modules
title: clean
commands:
- go mod download -x
- make clean
when:
steps:
- name: prepare_env_vars
- name: main_clone
on:
- success

Expand All @@ -53,7 +52,10 @@ steps:
- make check-worktree
when:
steps:
- name: download_modules
- name: prepare_env_vars
on:
- success
- name: clean
on:
- success

Expand Down

0 comments on commit d8a73c9

Please sign in to comment.