From 0dde2b61a1d694e76f9db6c0026146b72587e765 Mon Sep 17 00:00:00 2001 From: lauralani Date: Fri, 31 Mar 2023 20:12:58 +0200 Subject: [PATCH] add linting --- .woodpecker/lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .woodpecker/lint.yml diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml new file mode 100644 index 0000000..ba55dce --- /dev/null +++ b/.woodpecker/lint.yml @@ -0,0 +1,8 @@ +pipeline: + go-lint: + image: golangci/golangci-lint + commands: + - golangci-lint run + when: + path: "*.go" + event: ["push", "pull_request", "manual"]