Workflow fix
This commit is contained in:
@@ -14,17 +14,13 @@ jobs:
|
|||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.25.3'
|
go-version: '1.25.3'
|
||||||
|
- name: Configure Git for SSH
|
||||||
|
run: |
|
||||||
|
git config --global url."git@git.kundeng.us:".insteadOf "https://git.kundeng.us/"
|
||||||
|
go env -w GOPRIVATE=git.kundeng.us/phoenix/*
|
||||||
|
|
||||||
- name: Download dependencies
|
- name: Download dependencies
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
|
||||||
echo "${{ secrets.MYREPO_TOKEN }}" > ~/.ssh/textsender_models_deploy_key
|
|
||||||
chmod 600 ~/.ssh/textsender_models_deploy_key
|
|
||||||
ssh-keyscan ${{ vars.MYHOST }} >> ~/.ssh/known_hosts
|
|
||||||
|
|
||||||
eval $(ssh-agent -s)
|
|
||||||
ssh-add -v ~/.ssh/textsender_models_deploy_key
|
|
||||||
|
|
||||||
go mod download
|
go mod download
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|||||||
Reference in New Issue
Block a user