fixup! WIP: Go 1.18
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2234a12a16
commit
498fb1fe4d
18
.drone.yml
18
.drone.yml
|
@ -4,8 +4,8 @@ type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: backend
|
- name: backend-go1.17
|
||||||
image: golang:1.18beta1
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- cd backend/
|
- cd backend/
|
||||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
|
@ -14,10 +14,22 @@ steps:
|
||||||
- staticcheck ./...
|
- staticcheck ./...
|
||||||
- go test -bench=. -benchmem -cover ./...
|
- go test -bench=. -benchmem -cover ./...
|
||||||
|
|
||||||
|
# staticcheck does not yet support Go 1.18.
|
||||||
|
# https://github.com/dominikh/go-tools/issues/1145#issuecomment-995190461
|
||||||
|
- name: backend-go1.18
|
||||||
|
image: golang:1.18beta1
|
||||||
|
commands:
|
||||||
|
- cd backend/
|
||||||
|
# - go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
|
- go build ./...
|
||||||
|
- go vet ./...
|
||||||
|
# - staticcheck ./...
|
||||||
|
- go test -bench=. -benchmem -cover ./...
|
||||||
|
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: node:14
|
image: node:14
|
||||||
commands:
|
commands:
|
||||||
- cd frontend
|
- cd frontend
|
||||||
- yarn
|
- yarn
|
||||||
- yarn build
|
- yarn build
|
||||||
- yarn test
|
- yarn test
|
||||||
|
|
Loading…
Reference in New Issue