Skip to content

Commit

Permalink
Allow code access for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Feb 22, 2024
1 parent 64c1a23 commit 83cfcac
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/go-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,23 @@ jobs:
# Job for running go linter
go-lint:
runs-on: ubuntu-latest
env:
# TODO: only required until making the repo public
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
steps:
- name: git clone
uses: actions/checkout@v4
- name: set up go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
# TODO: only required until making the repo public
- name: setup SSH Keys and known_hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
ssh-agent -a $SSH_AUTH_SOCK > /dev/null || true
ssh-add - <<< "${{ secrets.NEXTMVBOT_SSH_KEY }}"
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
Expand Down

0 comments on commit 83cfcac

Please sign in to comment.