Skip to content

Commit

Permalink
fix: make use of prepare step
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Jun 30, 2023
1 parent 2c3d86a commit 0422d7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ steps:
commands:
- mkdir -p .go/cache .go/modcache .go/tmp
- go mod download
environment:
CGO_ENABLED: 0
GOCACHE: /drone/src/.go/cache
GOMODCACHE: /drone/src/.go/modcache
GOTMPDIR: /drone/src/.go/tmp

- name: license
image: quay.io/sighup/golang:1.20.4
depends_on:
- clone
- prepare
pull: always
commands:
- make license-check
Expand Down

0 comments on commit 0422d7d

Please sign in to comment.