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

Commit ac8be05

Browse files
authored
Merge pull request #228 from Alexendoo/rustup-minimal
Use minimal rustup profile in CI
2 parents 7b63c7c + e6f96e3 commit ac8be05

File tree

3 files changed

+26
-14
lines changed

3 files changed

+26
-14
lines changed

.github/workflows/autofix.yml

+16-9
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,26 @@ name: Autofix
22

33
on:
44
schedule:
5-
- cron: '0 12 * * *'
5+
- cron: "0 12 * * *"
66

77
jobs:
88
build:
99
runs-on: ubuntu-latest
1010
if: github.repository == 'rust-lang/glacier'
1111

1212
steps:
13-
- uses: actions/checkout@v1
14-
- name: Configure Git
15-
run: |
16-
git config --global user.name "rustbot"
17-
git config --global user.email "[email protected]"
18-
- run: cargo run -p autofix
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
- uses: actions/checkout@v1
14+
15+
- name: Configure Git
16+
run: |
17+
git config --global user.name "rustbot"
18+
git config --global user.email "[email protected]"
19+
20+
- name: Configure rustup
21+
run: |
22+
rustup set profile minimal
23+
rustup toolchain install nightly
24+
25+
- run: cargo run -p autofix
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/labeler.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
if: github.repository == 'rust-lang/glacier'
1212

1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v1
1515

16-
- name: Cargo run labeler
17-
run: cargo run -p labeler
18-
env:
19-
LABEL_TOKEN: ${{ secrets.LABEL_TOKEN }}
16+
- name: Cargo run labeler
17+
run: cargo run -p labeler
18+
env:
19+
LABEL_TOKEN: ${{ secrets.LABEL_TOKEN }}

.github/workflows/main.yml

+5
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)