From 5373577e8ce1f0e23943011929b6da5982fd7ff5 Mon Sep 17 00:00:00 2001 From: Shawn Poulson Date: Tue, 21 Nov 2023 10:34:13 -0500 Subject: [PATCH] Fix lint workflow. --- .github/workflows/lint.yaml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ae19287e..bf274c58 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -7,12 +7,10 @@ name: Lint on: push: branches: - - main - master pull_request: env: - SSH_AUTH_SOCK: /tmp/ssh_agent.sock GOLANGCI_LINT_VERSION: v1.54.2 jobs: @@ -32,18 +30,6 @@ jobs: go-version-file: ./go.mod cache: true # caching and restoring go modules and build outputs - - name: Setup SSH key - run: | - mkdir -p ~/.ssh - ssh-agent -a $SSH_AUTH_SOCK > /dev/null - ssh-add - <<< "${{ secrets.CI_SSH_KEY }}" - ssh-keyscan github.com >> ~/.ssh/known_hosts - - - name: Configure git for private modules - run: | - git config --global url.ssh://git@github.com/.insteadOf https://github.com/ - go env -w GOPRIVATE=github.com/mailgun - - name: Check that 'go mod tidy' was called before commit run: go mod tidy && git diff --exit-code