diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2af853e39d4..49c6a473ccd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,8 +6,6 @@ on: branches: - main pull_request: - branches: - - main paths-ignore: - '**/*.html' - '**/*.md' @@ -54,6 +52,8 @@ jobs: sudo apt-get install -y wget git gawk findutils xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \ sudo apt-get install -y --no-install-recommends --no-install-suggests + - uses: rui314/setup-mold@6bebc01caac32fb5251ee64f60cea0322d0e6574 # v1 + if: ${{ matrix.language == 'c-cpp' }} - name: Initialize CodeQL uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 65c750a8694..62dbe8c3014 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -47,6 +47,8 @@ jobs: xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \ sudo apt-get install -y --no-install-recommends --no-install-suggests + - uses: rui314/setup-mold@6bebc01caac32fb5251ee64f60cea0322d0e6574 # v1 + - name: Install Python dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/python-code-quality.yml b/.github/workflows/python-code-quality.yml index 659bb40d9ad..62f9c70a8f6 100644 --- a/.github/workflows/python-code-quality.yml +++ b/.github/workflows/python-code-quality.yml @@ -7,9 +7,6 @@ on: - main - releasebranch_* pull_request: - branches: - - main - - releasebranch_* jobs: python-checks: @@ -120,6 +117,7 @@ jobs: run: | echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV + - uses: rui314/setup-mold@6bebc01caac32fb5251ee64f60cea0322d0e6574 # v1 - name: Build run: .github/workflows/build_${{ matrix.os }}.sh $HOME/install