feat: check for host entries in ~/.ssh/known_hosts #7
Workflow file for this run
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
name: test inject-ssh-key | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Inject SSH Key | |
uses: ./ | |
with: | |
private-key: ${{ secrets.GIT_KEY }} | |
- name: Test GIT Access | |
run: git clone git@github.com:dym-ok/swisscards-ynnabe.git --depth 1 src |