about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2023-08-22 09:26:04 +0300
committerLaurențiu Nicola <lnicola@dend.ro>2023-08-22 09:26:04 +0300
commitb4576b52b7eeb657f33dfb8e496a3d0d6a573a5b (patch)
treea03c340ce39195669240567719d8988962e94cee
parent6caf79c36e517ab9d59f2fabd2013eb5aa0d9778 (diff)
downloadrust-b4576b52b7eeb657f33dfb8e496a3d0d6a573a5b.tar.gz
rust-b4576b52b7eeb657f33dfb8e496a3d0d6a573a5b.zip
Run analysis-stats on stable
-rw-r--r--.github/workflows/ci.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 9f246098e76..ec3128d9ec1 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -86,6 +86,12 @@ jobs:
       - name: Test
         run: cargo test ${{ env.USE_SYSROOT_ABI }} -- --nocapture --quiet
 
+      - name: Switch to stable toolchain
+        run: |
+          rustup update --no-self-update stable
+          rustup component add --toolchain stable rust-src
+          rustup default stable
+
       - name: Run analysis-stats on rust-analyzer
         if: matrix.os == 'ubuntu-latest'
         run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats .