diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e6e248b95..7679f1dcfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -384,7 +384,7 @@ jobs: git fetch origin ${{ github.ref }} git checkout -b local_branch FETCH_HEAD - name: Checkout our Testsuite Binaries - run: git clone https://github.com/rizinorg/rizin-testbins test/bins + run: git clone --depth 1 https://github.com/rizinorg/rizin-testbins test/bins working-directory: rizin - name: Build run: | @@ -463,7 +463,7 @@ jobs: git fetch origin ${{ github.ref }} git checkout -b local_branch FETCH_HEAD - name: Checkout our Testsuite Binaries - run: git clone https://github.com/rizinorg/rizin-testbins test/bins + run: git clone --depth 1 https://github.com/rizinorg/rizin-testbins test/bins working-directory: rizin # Old Debian git doesn't recognize this directive - name: Workaround to disable git depth @@ -507,7 +507,7 @@ jobs: git fetch origin ${{ github.ref }} git checkout -b local_branch FETCH_HEAD - name: Checkout our Testsuite Binaries - run: git clone https://github.com/rizinorg/rizin-testbins test/bins + run: git clone --depth 1 https://github.com/rizinorg/rizin-testbins test/bins working-directory: rizin - name: Compile with meson run: | @@ -815,10 +815,10 @@ jobs: working-directory: rizin - name: Checkout rz-bindgen (stable) if: github.ref == 'refs/heads/stable' - run: git clone -b stable https://github.com/rizinorg/rz-bindgen + run: git clone --depth 1 -b stable https://github.com/rizinorg/rz-bindgen - name: Checkout rz-bindgen (dev) if: github.ref != 'refs/heads/stable' - run: git clone -b dev https://github.com/rizinorg/rz-bindgen + run: git clone --depth 1 -b dev https://github.com/rizinorg/rz-bindgen - name: Build rz-bindgen run: | meson setup --prefix=/usr -Dplugin=enabled build diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index e2e5935363..74c38be19a 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -81,10 +81,10 @@ jobs: path: rizin - name: Checkout rz-bindgen (stable) if: github.ref == 'refs/heads/stable' - run: git clone -b stable https://github.com/rizinorg/rz-bindgen + run: git clone --depth 1 -b stable https://github.com/rizinorg/rz-bindgen - name: Checkout rz-bindgen (dev) if: github.ref != 'refs/heads/stable' - run: git clone -b dev https://github.com/rizinorg/rz-bindgen + run: git clone --depth 1 -b dev https://github.com/rizinorg/rz-bindgen - name: Install dependencies run: | sudo pip install meson ninja diff --git a/.github/workflows/muon.yml b/.github/workflows/muon.yml index 580c2804cd..a0e3ccd9fe 100644 --- a/.github/workflows/muon.yml +++ b/.github/workflows/muon.yml @@ -49,7 +49,7 @@ jobs: - name: Checkout Muon repository run: | - git clone https://git.sr.ht/~lattis/muon + git clone --depth 1 https://git.sr.ht/~lattis/muon - name: Compiling and installing Muon working-directory: muon diff --git a/.github/workflows/tcc.yml b/.github/workflows/tcc.yml index e9ffc4baad..985a92c9b1 100644 --- a/.github/workflows/tcc.yml +++ b/.github/workflows/tcc.yml @@ -67,9 +67,8 @@ jobs: - name: Checkout meson from ret2libc git run: | - git clone https://github.com/ret2libc/meson.git + git clone --depth 1 -b tiny-cc https://github.com/ret2libc/meson.git cd meson - git checkout tiny-cc python3 setup.py build sudo python3 setup.py install