Compare commits

...

4 Commits
main ... go1.18

Author SHA1 Message Date
Rob Watson 396a00bb0c fixup! WIP: Go 1.18
continuous-integration/drone/push Build is passing Details
2022-01-04 08:26:24 +01:00
Rob Watson 498fb1fe4d fixup! WIP: Go 1.18
continuous-integration/drone/push Build is failing Details
2022-01-04 08:22:41 +01:00
Rob Watson 2234a12a16 fixup! WIP: Go 1.18 2022-01-04 08:13:20 +01:00
Rob Watson 97df19379c WIP: Go 1.18 2022-01-04 08:13:20 +01:00
3 changed files with 16 additions and 6 deletions

View File

@ -4,14 +4,24 @@ type: docker
name: default
steps:
- name: backend
- name: backend-go1.17
image: golang:1.17
commands:
- cd backend/
- go install honnef.co/go/tools/cmd/staticcheck@latest
- go build ./...
- go vet ./...
- staticcheck ./...
- go run honnef.co/go/tools/cmd/staticcheck@latest ./...
- 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 build ./...
- go vet ./...
# - go run honnef.co/go/tools/cmd/staticcheck@latest ./...
- go test -bench=. -benchmem -cover ./...
- name: frontend
@ -20,4 +30,4 @@ steps:
- cd frontend
- yarn
- yarn build
- yarn test
- yarn test

View File

@ -11,7 +11,7 @@ ENV REACT_APP_API_URL=$API_URL
RUN yarn install
RUN yarn build
FROM golang:1.17.3-alpine3.14 as go-builder
FROM golang:1.18beta1-alpine3.14 as go-builder
ENV GOPATH ""
RUN go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest

View File

@ -1,6 +1,6 @@
module git.netflux.io/rob/clipper
go 1.17
go 1.18
require (
github.com/aws/aws-sdk-go-v2 v1.11.2