File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 type : string
1616 description : " List of Swift versions to test with."
1717 default : ' ["6.0", "6.1"]'
18+ use_ssh_for_private_deps :
19+ type : boolean
20+ description : " Set up ssh-agent with SSH_PRIVATE_KEY to fetch private SwiftPM deps over SSH."
21+ default : false
1822
1923concurrency :
2024 group : ${{ github.workflow }}-${{ github.ref }}-extra-soundness
4650 steps :
4751 - name : Checkout
4852 uses : actions/checkout@v4
53+
54+ - name : Set up SSH for private SwiftPM deps
55+ if : ${{ inputs.use_ssh_for_private_deps }}
56+ uses : webfactory/ssh-agent@v0.9.0
57+ with :
58+ ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
59+
60+ - name : Trust github.com host key
61+ if : ${{ inputs.use_ssh_for_private_deps }}
62+ run : |
63+ mkdir -p ~/.ssh
64+ ssh-keyscan github.com >> ~/.ssh/known_hosts
4965
5066 - name : Install zstd
5167 run : |
You can’t perform that action at this time.
0 commit comments