mirror of
				https://github.com/BurntSushi/ripgrep.git
				synced 2025-10-30 23:17:47 +02:00 
			
		
		
		
	ci: switch to dtolnay/rust-toolchain
The actions-rs/toolchain project appears dead. dtolnay's also seems more sustainable given its simplicity, but it does enough to suit our needs.
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -98,11 +98,9 @@ jobs: | ||||
|         ci/macos-install-packages | ||||
|  | ||||
|     - name: Install Rust | ||||
|       uses: actions-rs/toolchain@v1 | ||||
|       uses: dtolnay/rust-toolchain@v1 | ||||
|       with: | ||||
|         toolchain: ${{ matrix.rust }} | ||||
|         profile: minimal | ||||
|         override: true | ||||
|  | ||||
|     - name: Use Cross | ||||
|       if: matrix.target != '' | ||||
| @@ -185,11 +183,9 @@ jobs: | ||||
|     - name: Checkout repository | ||||
|       uses: actions/checkout@v2 | ||||
|     - name: Install Rust | ||||
|       uses: actions-rs/toolchain@v1 | ||||
|       uses: dtolnay/rust-toolchain@v1 | ||||
|       with: | ||||
|         toolchain: stable | ||||
|         override: true | ||||
|         profile: minimal | ||||
|         components: rustfmt | ||||
|     - name: Check formatting | ||||
|       run: | | ||||
| @@ -202,11 +198,9 @@ jobs: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|       - name: Install Rust | ||||
|         uses: actions-rs/toolchain@v1 | ||||
|         uses: dtolnay/rust-toolchain@v1 | ||||
|         with: | ||||
|           toolchain: stable | ||||
|           profile: minimal | ||||
|           override: true | ||||
|       - name: Check documentation | ||||
|         env: | ||||
|           RUSTDOCFLAGS: -D warnings | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -112,11 +112,9 @@ jobs: | ||||
|         ci/macos-install-packages | ||||
|  | ||||
|     - name: Install Rust | ||||
|       uses: actions-rs/toolchain@v1 | ||||
|       uses: dtolnay/rust-toolchain@v1 | ||||
|       with: | ||||
|         toolchain: ${{ matrix.rust }} | ||||
|         profile: minimal | ||||
|         override: true | ||||
|         target: ${{ matrix.target }} | ||||
|  | ||||
|     - name: Use Cross | ||||
|   | ||||
		Reference in New Issue
	
	Block a user