Skip to content

Commit fedc32e

Browse files
committed
fuck
1 parent 38d92b7 commit fedc32e

File tree

4,213 files changed

+4
-996004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,213 files changed

+4
-996004
lines changed

.github/workflows/pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
uses: psyb0t/reusable-github-workflows/.github/workflows/go-workflow.yml@master
88
with:
99
go_version: "1.24.6"
10-
dep_command: "echo 'Using vendored dependencies - fuck touching deps in CI'"
11-
lint_command: "make lint-ci"
12-
test_command: "make test-coverage-ci"
10+
dep_command: "make dep"
11+
lint_command: "make lint"
12+
test_command: "make test-coverage"

Makefile

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
MIN_TEST_COVERAGE := 90
22
APP_NAME := gofindimpl
33

4-
.PHONY: all dep lint lint-ci lint-fix test test-coverage test-coverage-ci build build-race
4+
.PHONY: all dep lint lint-fix test test-coverage build build-race
55

66
all: dep lint-fix test-coverage build ## Run all tasks
77

88
dep: ## Get project dependencies
99
@echo "Getting project dependencies..."
1010
@go mod tidy
11-
@go mod vendor
1211

1312
lint: ## Lint all Golang files
1413
@echo "Linting all Go files..."
1514
@go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -test ./...
1615
@go tool golangci-lint run --timeout=30m0s ./...
1716

18-
lint-ci: ## Lint all Golang files (CI - readonly vendor mode)
19-
@echo "Linting all Go files (CI mode - fuck vendor validation)..."
20-
@GOFLAGS=-mod=readonly go tool golangci-lint run --timeout=30m0s ./...
2117

2218
lint-fix: ## Lint all Golang files and fix
2319
@echo "Linting all Go files..."
@@ -45,22 +41,6 @@ test-coverage: ## Run tests with coverage check. Fails if coverage is below the
4541
exit 1; \
4642
fi
4743

48-
test-coverage-ci: ## Run tests with coverage check (CI - readonly vendor mode)
49-
@echo "Running tests with coverage check (CI mode - bypassing vendor bullshit)..."
50-
@trap 'rm -f coverage.txt' EXIT; \
51-
go test -mod=readonly -race -coverprofile=coverage.txt $$(go list ./...); \
52-
if [ $$? -ne 0 ]; then \
53-
echo "Test failed. Exiting."; \
54-
exit 1; \
55-
fi; \
56-
result=$$(go tool cover -func=coverage.txt | grep -oP 'total:\s+\(statements\)\s+\K\d+' || echo "0"); \
57-
if [ $$result -eq 0 ]; then \
58-
echo "No test coverage information available."; \
59-
exit 0; \
60-
elif [ $$result -lt $(MIN_TEST_COVERAGE) ]; then \
61-
echo "FAIL: Coverage $$result% is less than the minimum $(MIN_TEST_COVERAGE)%"; \
62-
exit 1; \
63-
fi
6444

6545
build: ## Build the app binary using Docker (optimized, no debug info)
6646
@echo "Building $(APP_NAME) binary (optimized)..."

vendor/4d63.com/gocheckcompilerdirectives/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

vendor/4d63.com/gocheckcompilerdirectives/checkcompilerdirectives/checkcompilerdirectives.go

Lines changed: 0 additions & 106 deletions
This file was deleted.

vendor/4d63.com/gochecknoglobals/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

vendor/4d63.com/gochecknoglobals/checknoglobals/check_no_globals.go

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)