Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup SSH known hosts
run: |
mkdir -p ~/.ssh
# Add known hosts for common Git hosting services
ssh-keyscan -H github.com >> ~/.ssh/known_hosts 2>/dev/null || true
ssh-keyscan -H gitlab.com >> ~/.ssh/known_hosts 2>/dev/null || true
ssh-keyscan -H bitbucket.org >> ~/.ssh/known_hosts 2>/dev/null || true

- name: Setup SSH key
if: secrets.SSH_PRIVATE_KEY != ''
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
Expand Down
Loading