--- kind: pipeline type: docker name: default steps: - name: backend-go1.17 image: golang:1.17 commands: - cd backend/ - go build ./... - go vet ./... - 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 image: node:14 commands: - cd frontend - yarn - yarn build - yarn test