-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5157db7
commit 662b6ec
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,13 @@ jobs: | |
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
# TODO: only required until making the repo public | ||
- name: setup SSH Keys and known_hosts | ||
- name: allow access to private repos | ||
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 }}" | ||
git config --global url."[email protected]:".insteadOf "https://github.com/" | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v4 | ||
with: | ||
|
@@ -43,11 +44,12 @@ jobs: | |
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
# TODO: only required until making the repo public | ||
- name: setup SSH Keys and known_hosts | ||
- name: allow access to private repos | ||
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 }}" | ||
git config --global url."[email protected]:".insteadOf "https://github.com/" | ||
- name: go test | ||
run: go test ./... |