Skip to content

Commit e7b7dea

Browse files
committed
Add ssh_key to CI
1 parent fc1315a commit e7b7dea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ jobs:
4444
name: "${{ matrix.distro }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }}"
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4848
with:
4949
submodules: recursive
50+
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
5051
- name: Cache ccache
5152
uses: rhaschke/cache@main
5253
with:

.github/workflows/format.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ jobs:
1313
name: pre-commit
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
with:
18+
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
1819
submodules: recursive
1920
- name: Install clang-format
2021
run: sudo apt-get install clang-format

0 commit comments

Comments
 (0)