Switch to mirrorred images for Drone and Docker, make linters happy.
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2022-06-29 15:32:54 +05:00
parent 389c15f1f7
commit d26b8f4262
6 changed files with 44 additions and 42 deletions

View File

@@ -5,32 +5,32 @@ name: build
steps:
- name: lint
image: golangci/golangci-lint:v1.43.0
image: code.pztrn.name/containers/mirror/golangci/golangci-lint:v1.46.2
environment:
CGO_ENABLED: 0
commands:
- golangci-lint run
- name: test
image: golang:1.17.3-alpine
image: code.pztrn.name/containers/mirror/golang:1.18.3-alpine
environment:
CGO_ENABLED: 0
commands:
- go test -test.v ./...
- name: test-race
image: golang:1.17.3-stretch
image: code.pztrn.name/containers/mirror/golang:1.18.3-bullseye
commands:
- go test -race -test.v ./...
- name: benchmark
image: golang:1.17.3-alpine
image: code.pztrn.name/containers/mirror/golang:1.18.3-alpine
environment:
CGO_ENABLED: 0
commands:
- go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -bench .
- name: benchmark-race
image: golang:1.17.3-stretch
image: code.pztrn.name/containers/mirror/golang:1.18.3-bullseye
commands:
- go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -race -bench .