ci: remove golangci-lint checks from CI pipeline
Removed the golangci-lint installation and linting step from the GitHub Actions workflow, simplifying the CI pipeline.
This commit is contained in:
6
.github/workflows/ci-cd.yml
vendored
6
.github/workflows/ci-cd.yml
vendored
@@ -20,12 +20,6 @@ jobs:
|
|||||||
- name: Download dependencies
|
- name: Download dependencies
|
||||||
run: go mod download
|
run: go mod download
|
||||||
|
|
||||||
- name: Install golangci-lint
|
|
||||||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin latest
|
|
||||||
|
|
||||||
- name: Run golangci-lint
|
|
||||||
run: golangci-lint run --timeout=3m
|
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: |
|
run: |
|
||||||
if [ "$(gofmt -l $(find . -name '*.go' -not -path './vendor/*'))" ]; then
|
if [ "$(gofmt -l $(find . -name '*.go' -not -path './vendor/*'))" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user