We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e32b838 commit c0dbdb5Copy full SHA for c0dbdb5
.github/workflows/build.yml
@@ -124,15 +124,11 @@ jobs:
124
timeout-minutes: 2
125
steps:
126
- uses: actions/checkout@v1
127
- - name: "Find latest Nightly with rustfmt"
128
- id: component
129
- uses: actions-rs/components-nightly@v1
130
- with:
131
- component: rustfmt
132
- - name: "Add a rustup override for rustfmt nightly"
+ - name: "Use the latest Rust nightly with rustfmt"
133
uses: actions-rs/toolchain@v1
134
with:
135
- toolchain: ${{ steps.component.outputs.toolchain }}
+ toolchain: nightly
+ profile: minimal
+ components: rustfmt
136
override: true
137
- - run: rustup component add rustfmt
138
- run: cargo fmt -- --check
0 commit comments