From ae600c44b61e0a5da8aacafe64ab060fc640ab29 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Tue, 5 Nov 2024 12:02:29 +0100 Subject: [PATCH] try again --- .woodpecker/docker-deploy.yaml | 7 +++++++ .woodpecker/go-lint.yaml | 7 ------- .woodpecker/go-lint.yamldisabled | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 .woodpecker/go-lint.yaml create mode 100644 .woodpecker/go-lint.yamldisabled diff --git a/.woodpecker/docker-deploy.yaml b/.woodpecker/docker-deploy.yaml index a198598..1e2decf 100644 --- a/.woodpecker/docker-deploy.yaml +++ b/.woodpecker/docker-deploy.yaml @@ -1,4 +1,11 @@ steps: + - name: go-lint + image: golangci/golangci-lint + commands: + - golangci-lint run + when: + event: ["push", "pull_request", "manual"] + - name: docker-deploy-push depends_on: - go-lint diff --git a/.woodpecker/go-lint.yaml b/.woodpecker/go-lint.yaml deleted file mode 100644 index d6d3e8c..0000000 --- a/.woodpecker/go-lint.yaml +++ /dev/null @@ -1,7 +0,0 @@ -steps: - go-lint: - image: golangci/golangci-lint - commands: - - golangci-lint run - when: - event: ["push", "pull_request", "manual"] \ No newline at end of file diff --git a/.woodpecker/go-lint.yamldisabled b/.woodpecker/go-lint.yamldisabled new file mode 100644 index 0000000..c92d8cc --- /dev/null +++ b/.woodpecker/go-lint.yamldisabled @@ -0,0 +1 @@ +steps: