Skip to content

Commit 25013e0

Browse files
committed
github: use actions/checkout@v4 instead of git clone
Switch to actions/checkout@v4 to ensure the correct repository is cloned, especially when a forked repository contains modifications. This improves reliability in GitHub Actions workflows. Signed-off-by: Xin Long <lucien.xin@gmail.com>
1 parent 66f26ce commit 25013e0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/interop_tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,14 @@ jobs:
6161
sudo add-apt-repository ppa:wireshark-dev/nightly
6262
sudo apt-get update
6363
sudo apt-get install -y --no-install-recommends tshark
64+
- name: Checkout linuxquic
65+
if: ${{ matrix.server == 'linuxquic' || matrix.client == 'linuxquic' }}
66+
uses: actions/checkout@v4
67+
with:
68+
path: quic
6469
- name: Install Linux QUIC module
6570
if: ${{ matrix.server == 'linuxquic' || matrix.client == 'linuxquic' }}
6671
run: |
67-
git clone https://github.com/lxin/quic.git
6872
cd quic && sed -i '/LIBGNUTLS/d' configure.ac
6973
./autogen.sh && ./configure --prefix=/usr
7074
sudo make -C modules install

0 commit comments

Comments
 (0)