We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6fbc1e commit 4818fb7Copy full SHA for 4818fb7
.github/actions/install-rust/action.yml
@@ -8,5 +8,20 @@ inputs:
8
default: 'stable'
9
10
runs:
11
- using: 'node16'
12
- main: 'main.js'
+ using: "composite"
+ steps:
13
+ - shell: bash
14
+ run: |
15
+ rustup show
16
+
17
+ # Save disk space by avoiding incremental compilation.
18
+ echo 'CARGO_INCREMENTAL=0' >> "$GITHUB_ENV"
19
20
+ # Turn down debuginfo from 2 to 1 to help save disk space
21
+ echo 'CARGO_PROFILE_DEV_DEBUG=1' >> "$GITHUB_ENV"
22
+ echo 'CARGO_PROFILE_TEST_DEBUG=1' >> "$GITHUB_ENV"
23
24
+ - if: ${{ ! startsWith(inputs.toolchain, 'nightly') }}
25
+ shell: bash
26
27
+ echo 'RUSTFLAGS=-D warnings' >> "$GITHUB_ENV"
.github/actions/install-rust/main.js
.github/actions/install-rust/package.json
0 commit comments