Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit e6f96e3

Browse files
committed
Use minimal rustup profile in CI
Avoids falling back to older nightly versions when components (e.g clippy) are missing from the latest
1 parent ca5a735 commit e6f96e3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/autofix.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
git config --global user.name "rustbot"
1818
git config --global user.email "rustbot@users.noreply.github.com"
1919
20+
- name: Configure rustup
21+
run: |
22+
rustup set profile minimal
23+
rustup toolchain install nightly
24+
2025
- run: cargo run -p autofix
2126
env:
2227
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v1
1111

12+
- name: Configure rustup
13+
run: |
14+
rustup set profile minimal
15+
rustup toolchain install nightly
16+
1217
- name: cargo run glacier
1318
run: cargo run
1419

0 commit comments

Comments
 (0)