2 Commits

Author SHA1 Message Date
juanarias8
9a296e97ba chore(makefile): add download-tun2socks dependency to test targets
Some checks failed
Build and test / Build (pull_request) Successful in 13s
Build and test / Lint (pull_request) Failing after 10s
Build and test / Test (Linux) (pull_request) Failing after 1m11s
2026-03-10 20:28:46 -05:00
juanarias8
c383d563ff chore(ci): update golangci-lint version in workflow 2026-03-10 20:28:39 -05:00
2 changed files with 3 additions and 4 deletions

View File

@@ -45,8 +45,7 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
install-mode: goinstall
version: v1.64.8
version: v2.1.6
test-linux:
name: Test (Linux)

View File

@@ -38,11 +38,11 @@ build-ci: download-tun2socks
$(eval GIT_COMMIT := $(shell git rev-parse HEAD 2>/dev/null || echo "unknown"))
$(GOBUILD) -ldflags "-s -w -X main.version=$(VERSION) -X main.buildTime=$(BUILD_TIME) -X main.gitCommit=$(GIT_COMMIT)" -o $(BINARY_NAME) -v ./cmd/greywall
test:
test: download-tun2socks
@echo "Running tests..."
$(GOTEST) -v ./...
test-ci:
test-ci: download-tun2socks
@echo "CI: Running tests with coverage..."
$(GOTEST) -v -race -coverprofile=coverage.out ./...