From 92516cfc5f91c4e19548c760db47f320d871b044 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 23 Mar 2023 21:09:21 +0100 Subject: [PATCH] ci: add the pipeline Signed-off-by: Vincenzo Palazzo --- .woodpecker/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .woodpecker/build.yml diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml new file mode 100644 index 0000000..ed068c2 --- /dev/null +++ b/.woodpecker/build.yml @@ -0,0 +1,14 @@ +pipeline: + # Builds your Go application + build: + # Set your preferred Go version: + image: golang:1.19 + environment: + # Select your target OS: + - GOOS=linux + # Select your target architecture: + - GOARCH=amd64 + commands: + - make dep + - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.1 + - make