Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dtolnay/rust-toolchain instead of actions-rs/toolchain #488

Merged
merged 1 commit into from
Aug 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 12 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,11 @@ jobs:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.CURRENT_NIGHTLY }}
profile: minimal
override: true
components: clippy ${{ matrix.build-std && ', rust-src' || '' }}
target: ${{ (!matrix.build-std) && matrix.target || null }}
targets: ${{ (!matrix.build-std) && matrix.target || null }}

- name: Cache Cargo
uses: actions/cache@v3
Expand All @@ -165,12 +163,10 @@ jobs:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.60'
profile: minimal
override: true
target: x86_64-apple-darwin
targets: x86_64-apple-darwin

- name: Cache Cargo
uses: actions/cache@v3
Expand Down Expand Up @@ -198,11 +194,9 @@ jobs:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.CURRENT_NIGHTLY }}
profile: minimal
override: true
components: rust-src

- name: Cache Cargo
Expand All @@ -227,11 +221,9 @@ jobs:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.CURRENT_NIGHTLY }}
profile: minimal
override: true
components: rust-src

- name: Install remaining targets
Expand Down Expand Up @@ -334,11 +326,9 @@ jobs:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
profile: minimal
override: true

- name: Cache Cargo
uses: actions/cache@v3
Expand Down Expand Up @@ -424,11 +414,9 @@ jobs:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.nightly && env.CURRENT_NIGHTLY || 'stable' }}
profile: minimal
override: true
components: ${{ matrix.build-std && 'rust-src' }}
target: ${{ (!matrix.build-std) && matrix.target || null }}

Expand Down Expand Up @@ -514,12 +502,10 @@ jobs:
submodules: true

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
profile: minimal
override: true
target: x86_64-apple-ios
targets: x86_64-apple-ios

- name: Cache Cargo
uses: actions/cache@v3
Expand Down Expand Up @@ -714,12 +700,10 @@ jobs:
ls -al $HOME/extern/*

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.nightly && env.CURRENT_NIGHTLY || 'stable' }}
profile: minimal
override: true
target: ${{ matrix.target }}
targets: ${{ matrix.target }}

- name: Cache Cargo
uses: actions/cache@v3
Expand Down
Loading