diff --git a/.github/workflows/go_lint.yml b/.github/workflows/go_lint.yml index 992760580..f93a52263 100644 --- a/.github/workflows/go_lint.yml +++ b/.github/workflows/go_lint.yml @@ -8,7 +8,7 @@ on: jobs: - lint: + Lint: runs-on: ubuntu-latest steps: - name: Set up Go ^1.20 @@ -19,19 +19,4 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - - - name: Tidy - run: go mod tidy && [ -z "$(git status -s)" ] - - - name: debug - run: go env - - - name: Lint - run: | - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2 - ${GOBIN}/golangci-lint run - - - name: Vet - run: make vet diff --git a/Makefile b/Makefile index 5f81fb9ff..fa9e80910 100644 --- a/Makefile +++ b/Makefile @@ -20,5 +20,5 @@ coverage: tidy # target to run all the possible checks; it's a good habit to run it before # pushing code -check: lint vet test - echo "check done" +#check: lint vet test +# echo "check done"