chore(ci): restore cache while code checkout
All checks were successful
agola/nurse/Test and lint The run finished successfully
All checks were successful
agola/nurse/Test and lint The run finished successfully
This commit is contained in:
parent
df6f6d55cb
commit
e48076f703
2 changed files with 10 additions and 2 deletions
|
@ -6,9 +6,14 @@ runs:
|
|||
runtime:
|
||||
type: pod
|
||||
containers:
|
||||
- image: docker.io/alpine/git
|
||||
- image: docker.io/golang:1.19-bullseye
|
||||
environment:
|
||||
GOMODCACHE: /project/.go
|
||||
steps:
|
||||
- clone:
|
||||
- run:
|
||||
name: Download Go dependencies
|
||||
command: go mod tidy --go=1.19
|
||||
- save_to_workspace:
|
||||
contents:
|
||||
- source_dir: .
|
||||
|
@ -21,6 +26,7 @@ runs:
|
|||
containers:
|
||||
- image: docker.io/golang:1.19-bullseye
|
||||
environment:
|
||||
GOMODCACHE: /project/.go
|
||||
DOCKER_HOST: tcp://127.0.0.1:2375
|
||||
- image: code.icb4dc0.de/prskr/ci-images/dind:latest
|
||||
privileged: true
|
||||
|
@ -43,6 +49,7 @@ runs:
|
|||
containers:
|
||||
- image: docker.io/golangci/golangci-lint
|
||||
environment:
|
||||
GOMODCACHE: /project/.go
|
||||
GO111MODULE: "on"
|
||||
CGO_ENABLED: "0"
|
||||
steps:
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -16,4 +16,5 @@
|
|||
|
||||
dist/
|
||||
.idea/
|
||||
cue.mod/
|
||||
cue.mod/
|
||||
.go/
|
Loading…
Reference in a new issue