ci: bump golang to 1.20.4
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d9265cafa8
commit
2a56ba3456
12
.drone.yml
12
.drone.yml
@ -92,13 +92,13 @@ environment:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: pull
|
- name: pull
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.4-alpine3.17
|
||||||
depends_on: [clone]
|
depends_on: [clone]
|
||||||
commands:
|
commands:
|
||||||
- go version
|
- go version
|
||||||
|
|
||||||
- name: go mod tidy
|
- name: go mod tidy
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.4-alpine3.17
|
||||||
depends_on: [pull]
|
depends_on: [pull]
|
||||||
volumes:
|
volumes:
|
||||||
- name: gopath
|
- name: gopath
|
||||||
@ -111,7 +111,7 @@ steps:
|
|||||||
- test -z "$(git diff-index HEAD :^package-lock.json)"
|
- test -z "$(git diff-index HEAD :^package-lock.json)"
|
||||||
|
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.4-alpine3.17
|
||||||
depends_on: [pull]
|
depends_on: [pull]
|
||||||
volumes:
|
volumes:
|
||||||
- name: gopath
|
- name: gopath
|
||||||
@ -122,7 +122,7 @@ steps:
|
|||||||
- npx tailwindcss -i ./assets/input.css -o ./assets/pcmt.css --minify
|
- npx tailwindcss -i ./assets/input.css -o ./assets/pcmt.css --minify
|
||||||
|
|
||||||
- name: go build
|
- name: go build
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.4-alpine3.17
|
||||||
depends_on: [go mod tidy, frontend]
|
depends_on: [go mod tidy, frontend]
|
||||||
volumes:
|
volumes:
|
||||||
- name: gopath
|
- name: gopath
|
||||||
@ -131,7 +131,7 @@ steps:
|
|||||||
- go build -v .
|
- go build -v .
|
||||||
|
|
||||||
- name: go test
|
- name: go test
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.4-alpine3.17
|
||||||
depends_on: [pull]
|
depends_on: [pull]
|
||||||
volumes:
|
volumes:
|
||||||
- name: gopath
|
- name: gopath
|
||||||
@ -159,7 +159,7 @@ node:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.4-alpine3.17
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user