diff --git a/.concourse/tasks/test.yml b/.concourse/tasks/test.yml index 4e07a22..7989819 100644 --- a/.concourse/tasks/test.yml +++ b/.concourse/tasks/test.yml @@ -5,7 +5,7 @@ image_resource: type: registry-image source: repository: docker.io/golang - tag: 1.19-buster + tag: 1.20-buster inputs: - name: repo diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f52c776 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: Lint + image: docker.io/golangci/golangci-lint:latest + environment: + GO111MODULE: "on" + CGO_ENABLED: "0" + GOMEMLIMIT: "1150MiB" + commands: + - golangci-lint run -v + +- name: Test + image: docker.io/golang:1.20-buster + commands: + - go mod download + - go run gotest.tools/gotestsum@latest -f pkgname-and-test-fails -- -race -shuffle=on ./... \ No newline at end of file