We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37b0956 commit d430becCopy full SHA for d430bec
.github/workflows/_build-rust.yml
@@ -62,14 +62,15 @@ jobs:
62
steps:
63
- name: Check out
64
uses: actions/checkout@v4
65
- - name: Install Rust toolchain
66
- uses: actions-rs/toolchain@v1
67
- with:
68
- profile: minimal
69
- toolchain: ${{ inputs.rust-version }}
70
- override: true
71
- components: clippy, rustfmt
72
- target: ${{ inputs.rust-target }}
+ - name: Setup Rust toolchain
+ run: |
+ rustup toolchain install ${{ inputs.rust-version }} \
+ --profile minimal \
+ --component clippy rustfmt \
+ --target ${{ inputs.rust-target }} \
+ --no-self-update
+ --force
73
+ rustup override set ${{ inputs.rust-version }}
74
- name: Set up cargo cache
75
uses: actions/cache@v3
76
continue-on-error: false
0 commit comments