Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Fix lint workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baliedge committed Nov 21, 2023
1 parent d302ffc commit 5373577
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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://[email protected]/.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

Expand Down

0 comments on commit 5373577

Please sign in to comment.