Skip to content

Commit

Permalink
trust github
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
  • Loading branch information
thomaspoignant committed Jun 27, 2024
1 parent 0303ede commit 2a7c5d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/swift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
swift: [ "5.5", "5.10" ]
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
- name: Trust the GitHub SSH keys
run: |
for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}
Expand Down

0 comments on commit 2a7c5d1

Please sign in to comment.