From 0e795d5bc8463b255789e94fbd972d665c93aab4 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Sat, 20 Nov 2021 03:32:04 +0500 Subject: [PATCH] Add gitignore and Drone CI configuration. --- .drone.yml | 21 +++++++++++++++++++++ .gitignore | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 .drone.yml create mode 100644 .gitignore diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9bfa91b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +--- +kind: pipeline +type: docker +name: build + +steps: + - name: lint + image: golangci/golangci-lint:v1.43.0 + environment: + GOFLAGS: -mod=vendor + CGO_ENABLED: 0 + commands: + - golangci-lint run + + - name: test + image: golang:1.17.3-alpine + environment: + GOFLAGS: -mod=vendor + CGO_ENABLED: 0 + commands: + - go test ./... diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d28bd7a --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea +.vscode +*DS_Store*