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: