From 3b480a1e9b1ebcfd9cb663d447b974c30c2185bb Mon Sep 17 00:00:00 2001 From: Mahyar McDonald Date: Mon, 3 Nov 2025 19:10:33 -0800 Subject: [PATCH] force local lint test --- .github/workflows/pull_request.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a02f5de..a3f1f27 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -20,24 +20,11 @@ jobs: - name: Build and test go binaries run: | #shell + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2 + $(go env GOPATH)/bin/golangci-lint run go build -v ./... go test -v ./... - - name: Lint (external action) - if: vars.USE_LOCAL_LINTER != 'true' - uses: golangci/golangci-lint-action@v3 - with: - version: v1.52.2 - - - name: Lint (local) - if: vars.USE_LOCAL_LINTER == 'true' - run: | #shell - # Install golangci-lint - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2 - - # Run linter - $(go env GOPATH)/bin/golangci-lint run - - name: Build apt_query binaries run: | #shell cd src/cmd/apt_query