about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/.github/workflows
diff options
context:
space:
mode:
authorLukas Wirth <me@lukaswirth.dev>2025-06-28 10:21:44 +0200
committerLukas Wirth <me@lukaswirth.dev>2025-06-28 11:35:55 +0200
commit0f93d8ae882e5488738c628e8c2952814e3fb526 (patch)
treef67df239d5e11bcab869d281c26c496764ea03af /src/tools/rust-analyzer/.github/workflows
parent9cd5826ba802ea05f65544e0175152d789a34c30 (diff)
downloadrust-0f93d8ae882e5488738c628e8c2952814e3fb526.tar.gz
rust-0f93d8ae882e5488738c628e8c2952814e3fb526.zip
ci: Fix up release workflow
Diffstat (limited to 'src/tools/rust-analyzer/.github/workflows')
-rw-r--r--src/tools/rust-analyzer/.github/workflows/ci.yaml5
-rw-r--r--src/tools/rust-analyzer/.github/workflows/release.yaml4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/ci.yaml b/src/tools/rust-analyzer/.github/workflows/ci.yaml
index a772d560622..770652494f4 100644
--- a/src/tools/rust-analyzer/.github/workflows/ci.yaml
+++ b/src/tools/rust-analyzer/.github/workflows/ci.yaml
@@ -84,6 +84,7 @@ jobs:
       CC: deny_c
 
     strategy:
+      fail-fast: false
       matrix:
         os: [ubuntu-latest, windows-latest, macos-latest]
 
@@ -326,12 +327,12 @@ jobs:
 
   cancel-if-matrix-failed:
     needs: rust
+    if: ${{ always() }}
     runs-on: ubuntu-latest
     steps:
       - name: Cancel parallel jobs
-        if: failure()
         run: |
-          if [ jq --exit-status 'all(.result == "success" or .result == "skipped")' <<< '${{ toJson(needs) }}' ]; then
+          if jq --exit-status 'all(.result == "success" or .result == "skipped")' <<< '${{ toJson(needs) }}'; then
             exit 0
           fi
           # https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#cancel-a-workflow-run
diff --git a/src/tools/rust-analyzer/.github/workflows/release.yaml b/src/tools/rust-analyzer/.github/workflows/release.yaml
index a758ecfd467..5bd90130f4c 100644
--- a/src/tools/rust-analyzer/.github/workflows/release.yaml
+++ b/src/tools/rust-analyzer/.github/workflows/release.yaml
@@ -134,13 +134,13 @@ jobs:
 
       - name: Run analysis-stats on rust-analyzer
         if: matrix.target == 'x86_64-unknown-linux-gnu'
-        run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats .
+        run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats . -q
 
       - name: Run analysis-stats on rust std library
         if: matrix.target == 'x86_64-unknown-linux-gnu'
         env:
           RUSTC_BOOTSTRAP: 1
-        run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
+        run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std -q
 
       - name: Upload artifacts
         uses: actions/upload-artifact@v4