4545    - uses : actions/checkout@v4 
4646    - name : install-dependencies 
4747      run : | 
48-             sudo apt-get update -q -y  
49-             sudo apt-get install -q -y  libsdl2-dev libsdl2-mixer-dev device-tree-compiler expect bc p7zip-full 
48+             sudo apt-get update -q=2  
49+             sudo apt-get install -q=2  libsdl2-dev libsdl2-mixer-dev device-tree-compiler expect bc p7zip-full 
5050            .ci/riscv-toolchain-install.sh 
5151            echo "${{ github.workspace }}/toolchain/bin" >> $GITHUB_PATH 
5252            wget https://apt.llvm.org/llvm.sh 
@@ -258,8 +258,8 @@ jobs:
258258        distro : ubuntu24.04 
259259        #  No 'sudo' is available
260260        install : | 
261-           apt-get update -q -y  
262-           apt-get install -q -y  make git clang python3 python3-pip build-essential libsdl2-dev libsdl2-mixer-dev lsb-release wget software-properties-common gnupg bc 
261+           apt-get update -q=2  
262+           apt-get install -q=2  make git clang python3 python3-pip build-essential libsdl2-dev libsdl2-mixer-dev lsb-release wget software-properties-common gnupg bc 
263263          git config --global --add safe.directory ${{ github.workspace }} 
264264          git config --global --add safe.directory ${{ github.workspace }}/src/softfloat 
265265          git config --global --add safe.directory ${{ github.workspace }}/src/mini-gdbstub 
@@ -285,7 +285,7 @@ jobs:
285285    - uses : actions/checkout@v4 
286286    - name : coding convention 
287287      run : | 
288-             sudo apt-get install -q -y  clang-format-18 
288+             sudo apt-get install -q=2  clang-format-18 
289289            .ci/check-newline.sh 
290290            .ci/check-format.sh 
291291shell : bash 
@@ -299,12 +299,12 @@ jobs:
299299    #  LLVM static analysis
300300    - name : set up scan-build 
301301      run : | 
302-             sudo apt-get update -q -y  
303-             sudo apt-get install -q -y  libsdl2-dev libsdl2-mixer-dev 
302+             sudo apt-get update -q=2  
303+             sudo apt-get install -q=2  libsdl2-dev libsdl2-mixer-dev 
304304            wget https://apt.llvm.org/llvm.sh 
305305            chmod +x ./llvm.sh 
306306            sudo ./llvm.sh 18 
307-             sudo apt-get install -q -y  clang-18 clang-tools-18 
307+             sudo apt-get install -q=2  clang-18 clang-tools-18 
308308shell : bash 
309309    - name : run scan-build without JIT 
310310      run : make distclean && scan-build-18 -v -o ~/scan-build --status-bugs --use-cc=clang-18 --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=0 
0 commit comments