Switch to mirrorred images for Drone and Docker, make linters happy.
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user