diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 8fbbd3c..8238ac6 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -6,4 +6,3 @@ pipeline: depends_on: - lint - - test \ No newline at end of file diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml index 082a929..872c671 100644 --- a/.woodpecker/.lint.yml +++ b/.woodpecker/.lint.yml @@ -2,4 +2,6 @@ pipeline: lint: image: golang:1.19.1 commands: - - go mod tidy + - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 + - golangci-lint --version + - golangci-lint run diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml deleted file mode 100644 index 447edc3..0000000 --- a/.woodpecker/.test.yml +++ /dev/null @@ -1,8 +0,0 @@ -pipeline: - tests: - image: golang:1.19.1 - commands: - - go mod tidy - -depends_on: - - lint \ No newline at end of file